Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104572

qmllint cannot cope with Dialog.standardButtons

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.4, 6.3.1, 6.4
    • None
    • All

    Description

      InputDialog.qml:

      import QtQuick.Controls
      
      Dialog {
          standardButtons: DialogButtonBox.Cancel | DialogButtonBox.Ok
       ...

      Running qmllint:

      Warning: uihelpers/InputDialog.qml:9:5: No type found for property "standardButtons". This may be due to a missing import statement or incomplete qmltypes files.
          standardButtons: DialogButtonBox.Cancel | DialogButtonBox.Ok
          ^^^^^^^^^^^^^^^ 

      Most likely because standardButtons is of type QPlatformDialogHelper::StandardButtons, which is not declaratively registered.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            rgriebl Robert Griebl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes