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

qmlplugindump does not recognize required properties

    XMLWordPrintable

Details

    Description

      It looks like qmlplugindump completely skips each QML type that has required properties. In the attached example Foo.qml and Foo3.qml have required property, but they are not found in the output:

      // This file describes the plugin-supplied types contained in the library.
      // It is used for QML tooling purposes only.
      //
      // This file was auto-generated by:
      // 'qmlplugindump -v -nonrelocatable MyComponents 1.0'
      
      Module {
          dependencies: ["QtQuick 2.0"]
          Component {
              name: "MyItem"
              prototype: "QObject"
              exports: ["MyComponents/MyItem 1.0"]
              exportMetaObjectRevisions: [0]
          }
          Component {
              prototype: "QQuickText"
              name: "MyComponents/Foo2 1.0"
              exports: ["MyComponents/Foo2 1.0"]
              exportMetaObjectRevisions: [0]
              isComposite: true
              defaultProperty: "data"
              Property { name: "foobar"; type: "string" }
          }
      }
      

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes