Unsolved Qt.labs.controls is not installed
-
Hi guys i have a problem.
QQmlApplicationEngine failed to load component
qrc:/main.qml:4 module "Qt.labs.controls.material" is not installed
qrc:/main.qml:3 module "Qt.labs.controls" is not installed
qrc:/main.qml:4 module "Qt.labs.controls.material" is not installed
qrc:/main.qml:3 module "Qt.labs.controls" is not installedImages
http://i.hizliresim.com/B2YLzp.jpg
http://i.hizliresim.com/Zd493G.jpg -
Which Qt version are you using? The tech preview was released under the working title of Qt Labs Controls in Qt 5.6, but the final name in Qt 5.7 is Qt Quick Controls 2.
-
@w00t1234 It's because of your Qt version "import Qt.labs.controls 1.0" is for Qt5.6.2 and older but newer Qt's SDK use
QtQuick.Controls 2.1 instead.so please replace :
import QtQuick.Controls 2.1have a nice day