← Back to team overview

ubuntu-sdk-bugs team mailing list archive

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

 

** Changed in: canonical-devices-system-image
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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 Canonical System Image:
  Fix Released
Status in qtdeclarative-opensource-src package in Ubuntu:
  Fix Released
Status in qtdeclarative-opensource-src package in Ubuntu RTM:
  Fix Released

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/canonical-devices-system-image/+bug/1541346/+subscriptions


References