QMl:qrc:/main.qml:-1 No such file or directory
Unsolved
QML and Qt Quick
-
hello,everyone!
This's my program:QML debugging is enabled. Only use this in a safe environment. QQmlApplicationEngine failed to load component qrc:/main.qml:-1 No such file or directory
import QtQuick 2.9 import QtQuick.Window 2.2 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") } }
-
@yongle-wong check the filepath which you have added your qml file in Qt C++