← Back to team overview

touch-packages team mailing list archive

[Bug 1541346] Re: qmlplugindump can not correctly handle singleton types

 

** Also affects: qtdeclarative-opensource-src (Ubuntu RTM)
   Importance: Undecided
       Status: New

-- 
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
Status in qtdeclarative-opensource-src package in Ubuntu RTM:
  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


References