← Back to team overview

touch-packages team mailing list archive

[Bug 1541346] [NEW] qmlplugindump can not correctly handle singleton types

 

Public bug reported:

When exporting singleton types in qmldir files, qmplugindump creates invalid output and breaks autocompletion in QtCreator for those qml modules.
The exports and exportMetaObjectRevisions have invalid values.

For example:

    Component {
        prototype: "QObject"
        name: "Palette"
        exports: ["Palette -1.-1"]
        exportMetaObjectRevisions: [-1]
        isComposite: true
        Property { name: "normal"; type: "PaletteValues_QMLTYPE_2"; isPointer: true }
        Property { name: "selected"; type: "PaletteValues_QMLTYPE_2"; isPointer: true }
    }

Upstream Bug: https://bugreports.qt.io/browse/QTBUG-49284

** Affects: qtdeclarative-opensource-src (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  When exporting singleton types in qmldir files, qmplugindump creates invalid output and breaks autocompletion in QtCreator for those qml modules.
  The exports and exportMetaObjectRevisions have invalid values.
  
  For example:
  
-     Component {
-         prototype: "QObject"
-         name: "Palette"
-         exports: ["Palette -1.-1"]
-         exportMetaObjectRevisions: [-1]
-         isComposite: true
-         Property { name: "normal"; type: "PaletteValues_QMLTYPE_2"; isPointer: true }
-         Property { name: "selected"; type: "PaletteValues_QMLTYPE_2"; isPointer: true }
-     }
+     Component {
+         prototype: "QObject"
+         name: "Palette"
+         exports: ["Palette -1.-1"]
+         exportMetaObjectRevisions: [-1]
+         isComposite: true
+         Property { name: "normal"; type: "PaletteValues_QMLTYPE_2"; isPointer: true }
+         Property { name: "selected"; type: "PaletteValues_QMLTYPE_2"; isPointer: true }
+     }
+ 
+ Upstream Bug: https://bugreports.qt.io/browse/QTBUG-49284

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtdeclarative-opensource-
src in Ubuntu.
https://bugs.launchpad.net/bugs/1541346

Title:
  qmlplugindump can not correctly handle singleton types

Status in qtdeclarative-opensource-src package in Ubuntu:
  New

Bug description:
  When exporting singleton types in qmldir files, qmplugindump creates invalid output and breaks autocompletion in QtCreator for those qml modules.
  The exports and exportMetaObjectRevisions have invalid values.

  For example:

      Component {
          prototype: "QObject"
          name: "Palette"
          exports: ["Palette -1.-1"]
          exportMetaObjectRevisions: [-1]
          isComposite: true
          Property { name: "normal"; type: "PaletteValues_QMLTYPE_2"; isPointer: true }
          Property { name: "selected"; type: "PaletteValues_QMLTYPE_2"; isPointer: true }
      }

  Upstream Bug: https://bugreports.qt.io/browse/QTBUG-49284

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1541346/+subscriptions


Follow ups