Qt 6.11 is out! See what's new in the release
blog
QMl:qrc:/main.qml:-1 No such file or directory
-
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 directoryimport QtQuick 2.9 import QtQuick.Window 2.2 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") } } -
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 directoryimport 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++