/usr/lib/i386-linux-gnu/qt5/qml/Ubuntu/Content/plugins.qmltypes causes cmake error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
content-hub (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
If I run cmake for my project (Ubuntu touch click target), I get the following message:
Running "/usr/bin/cmake /home/q/click/myapp '-GCodeBlocks - Unix Makefiles' -DCMAKE_
-- Configuring done
-- Generating done
-- Build files have been written to: /home/q/
Warnings while parsing QML type information of /usr/lib/
Failed to parse "/usr/lib/
Error: /usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
I then took a look at the file plugins.qmltypes and there were "-1" entries in some version numbers.
Changing those "-1" values to 0 helped me at least for avoiding the cmake error, but I did not look up the correct versions.
This has been there for quite some time, and recently an update of the package did undo my changes, so I thought I file a bug for it.
The file itself has the comment "autogenerated" in the header.
Could you check if that is a general problem with the package, or just a special use case I have ?
My project was created as Cmake project for the Ubunutu SDK 15.04 (Ubuntu touch click package with C++ backend)
Here are the respective lines of that file:
...
Component {
prototype: "Palette_QMLTYPE_2"
name: "Palette"
exports: ["Palette -1.-1"]
}
Component {
prototype: "QObject"
name: "PaletteValues"
exports: ["PaletteValues -1.-1"]
Property { name: "background"; type: "QColor" }
Property { name: "backgroundText"; type: "QColor" }
Property { name: "base"; type: "QColor" }
Property { name: "baseText"; type: "QColor" }
Property { name: "foreground"; type: "QColor" }
Property { name: "foregroundText"; type: "QColor" }
Property { name: "overlay"; type: "QColor" }
Property { name: "overlayText"; type: "QColor" }
Property { name: "field"; type: "QColor" }
Property { name: "fieldText"; type: "QColor" }
Property { name: "selection"; type: "QColor" }
}
Component {
prototype: "QObject"
name: "UbuntuColors"
exports: ["UbuntuColors -1.-1"]
...
------ SYSTEM INFO ------
Description: Ubuntu 16.04.1 LTS
Release: 16.04
content-hub:
Installed: 0.1+16.
Candidate: 0.1+16.
Version table:
*** 0.1+16.
500 http://
100 /var/lib/