Comment 0 for bug 1550715

Revision history for this message
Gareth Hulse (gareth-hulse) wrote : QT-QML 5.4.2 with deprecated functions | Ubuntu 15.10

When compiling QML projects in Ubuntu SDK, I get this output:

Starting /usr/lib/x86_64-linux-gnu/qt5/bin/qmlscene...
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/1.2/ButtonStyle.qml:123:5: QML UbuntuShape: 'color' is deprecated. Use 'backgroundColor', 'secondaryBackgroundColor' and 'backgroundMode' instead.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/1.2/ButtonStyle.qml:135:5: QML UbuntuShape: 'gradientColor' is deprecated. Use 'backgroundColor', 'secondaryBackgroundColor' and 'backgroundMode' instead.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/1.2/ButtonStyle.qml:123:5: QML UbuntuShape: 'image' is deprecated. Use 'source' instead.
/usr/lib/x86_64-linux-gnu/qt5/bin/qmlscene exited with code 0

In the terminal I tried the following:

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install --reinstall qml

When I reopened a QML project to see if it was fixed, I noticed this in the 'General Messages' console:

[14:09:48] ii click-reviewers-tools 0.34

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:1178:39: Meta object revision without matching export.
/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/plugins.qmltypes:1187:39: Meta object revision without matching export.
/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/plugins.qmltypes:1205:39: Meta object revision without matching export.

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:1178:39: Meta object revision without matching export.
/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/plugins.qmltypes:1187:39: Meta object revision without matching export.
/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/plugins.qmltypes:1205:39: Meta object revision without matching export.