Ubuntu QT installieren qt-quick-Bedienelemente 2.1

Ich habe eine Qt-Anwendung 5.7.0 vorhanden. Wenn ich meine Anwendung startet nicht, und es ist ein terminal die Meldung:

QQmlApplicationEngine failed to load component
qrc:/main.qml:2 module "QtQuick.Controls" version 2.1 is not installed

Wie kann ich dieses Problem lösen?

Dank!!

was ist deine qt-version?
Qt 5.7.0 vorhanden
Wie hast du qt installiert?
Ausführung: sudo apt-get install qml-module-qtquick-controls
HIERFÜR benötigen Sie die neueste version von Qt, download-version 5.9: download.qt.io/official_releases/qt/5.9/5.9.1/...

InformationsquelleAutor Ale | 2017-08-04

Schreibe einen Kommentar