Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Ubuntu qt components installation error

$
0
0
I’ve tried to install ubuntu qt components on archlinux, i’ve created a build script and it builds fine, basically it builds like this: qmake-qt5 -r ubuntu-sdk.pro make --quiet make INSTALL_ROOT=${pkgdir} install the package builds fine and installs the component library under /usr/lib/qt5/imports/Ubuntu/Components/ i’ve tried this sample application under qtcreator import QtQuick 2.0 import Ubuntu.Components 0.1   Rectangle {     id: root     width: units.gu(60)     height: units.gu(80)     color: "lightgray"       property real margins: units.gu(2)     property real buttonWidth: units.gu(9)       Label {        id: title        ItemStyle.class: "title"        text: i18n.tr("Currency Converter")        height: contentHeight + root.margins        anchors {            left: parent.left            right: parent.right            top: parent.top        }     } } but when i run the application it says the following Starting external tool '/usr/lib/qt5/bin/qmlscene' /home/riccardo/Programmi/Prova/qml/Prova/main.qml file:///home/riccardo/Programmi/Prova/qml/Prova/main.qml:2 module "Ubuntu.Components" is not installed Why? What’s the mistake? And why qtcreator doesn’t underline the import statement? Any hints will be appreciated!

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images