← Back to team overview

ubuntu-sdk-bugs team mailing list archive

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

 

qtdeclarative-opensource-src (5.4.1-1ubuntu11~overlay4) vivid;
urgency=medium

  * debian/patches/Repeater-Don-t-rely-on-the-createFrom-variable.patch:
    - Fix asynchronous tab loading (LP: #1540423)
  * debian/patches/qml-preserve-composite-singleton-types.patch:
    - Fix broken qml type description files: (LP: #1541346)
  * debian/patches/QQuickItemView-forceLayout-Also-call-layout-when-d-f.patch:
    - Backport patch from Qt 5.7 to call forceLayout more often (LP: #1556842)

 -- Timo Jyrinki <timo-jyrinki@xxxxxxxxxx>  Mon, 01 Feb 2016 14:25:25
+0000

** Changed in: qtdeclarative-opensource-src (Ubuntu RTM)
       Status: In Progress => Fix Released

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

-- 
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 Committed
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