← Back to team overview

touch-packages team mailing list archive

[Bug 1511728] Re: "Meta object revision without matching export" in Qt Creator

 

This bug is caused by setting `exportMetaObjectRevisions` to `[0,0]` on
`Component` blocks that only have one `export` defined. Deleting the
comma and the second `0` fixes this.

This change needs to be applied on lines 1058, 1067, and 1085 of the
following file:

`/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/plugins.qmltypes`

Once I made those changes, I was able to enter the design page for a new
QML app with qmake without encountering a blocking popup block.

I am running a fresh install of Ubuntu 15.10 with an amd64 architecture;
other architectures may need to replace the `x86_64-linux-gnu` part of
the file path with something more system-appropriate.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1511728

Title:
  "Meta object revision without matching export" in Qt Creator

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  When I try to create a new Qt Quick Controls project in Qt Creator
  3.5.0, after I finish the project creation wizard, I get the following
  errors:

  Warnings while parsing QML type information of /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components:
  Failed to parse "/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/plugins.qmltypes".
  Error: /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/plugins.qmltypes:1058:39: Meta object revision without matching export.
  /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/plugins.qmltypes:1067:39: Meta object revision without matching export.
  /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/plugins.qmltypes:1085:39: Meta object revision without matching export.

  Project ERROR: Unknown module(s) in QT: quick qml
  Warnings while parsing QML type information of /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components:
  Failed to parse "/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/plugins.qmltypes".
  Error: /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/plugins.qmltypes:1058:39: Meta object revision without matching export.
  /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/plugins.qmltypes:1067:39: Meta object revision without matching export.
  /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/plugins.qmltypes:1085:39: Meta object revision without matching export.

  As I result, the Run button in Qt Creator is grayed out with the
  following error: 'The .pro file "untitled.pro" could not be parsed.'

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: qtdeclarative5-ubuntu-ui-toolkit-plugin 1.3.1627+15.10.20150908-0ubuntu1
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  ApportVersion: 2.19.1-0ubuntu4
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Oct 30 09:17:48 2015
  InstallationDate: Installed on 2015-03-04 (239 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  SourcePackage: ubuntu-ui-toolkit
  UpgradeStatus: Upgraded to wily on 2015-10-23 (7 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1511728/+subscriptions


References