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

The plugin.qmltypes file for Qt Quick Controls is missing a number of properties for MessageDialog

    XMLWordPrintable

Details

    • b41b6c210d2ae74c076ef4199a29ee2a3ee233b7

    Description

      The plugin.qmltypes file for Qt Quick Controls is missing a number of properties for MessageDialog. If it is generated for a non binary package when requested then this information is available so there seems to be something missing in the one already provided in the packages.

      This means that when the types are used in Qt Creator that it does not recognise them. For example using the text property with MessageDialog underlines in red:

      import QtQuick.Dialogs 1.2
      import QtQuick 2.5
      import QtQuick.Controls 1.4
      
      ApplicationWindow {
          width: 640
          height: 480
          visible: true
          MessageDialog {
              text: "foo"
          }
      }
      

      Attachments

        Activity

          People

            releaseteam Qt Release Team
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: