module "QtQuick.*" is not installed
-
wrote on 28 Aug 2023, 06:55 last edited by
I am trying to deploy my application on windows using windeployqt but I get the following errors when trying to run my applicaiton:
Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed
Any idea how I could fix this? There is a "qml" folder in the result of windeployqt but it is empty. Do I need to add anything to it manually?
-
I am trying to deploy my application on windows using windeployqt but I get the following errors when trying to run my applicaiton:
Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed
Any idea how I could fix this? There is a "qml" folder in the result of windeployqt but it is empty. Do I need to add anything to it manually?
@Creaperdown I think you have to pass -qml parameter to windeploytool to tell it where you QML stuff is.
-
@Creaperdown I think you have to pass -qml parameter to windeploytool to tell it where you QML stuff is.
wrote on 28 Aug 2023, 06:59 last edited byThis post is deleted! -
@Creaperdown I think you have to pass -qml parameter to windeploytool to tell it where you QML stuff is.
wrote on 28 Aug 2023, 07:01 last edited by@jsulm Right, I have seen this before and copied the command
windeployqt.exe --qmldir . --release .\librum.exe
. Now that you mention it I realized that there is a.
as the path for qmldir which is wrong. Where exactly should that point to? Simply to my qml source directory? -
@jsulm Right, I have seen this before and copied the command
windeployqt.exe --qmldir . --release .\librum.exe
. Now that you mention it I realized that there is a.
as the path for qmldir which is wrong. Where exactly should that point to? Simply to my qml source directory?@Creaperdown said in module "QtQuick.*" is not installed:
Simply to my qml source directory?
I think so, yes
-
@Creaperdown said in module "QtQuick.*" is not installed:
Simply to my qml source directory?
I think so, yes
wrote on 28 Aug 2023, 07:04 last edited by@jsulm Thank you, this fixes it.
-
-
wrote on 18 Jan 2024, 15:52 last edited by
Dear all,
having similar issue and kinda stuck..
Using this post build command in my cmake file
# Add a post-build command to run windeployqt COMMAND "$<IF:$<CONFIG:Debug>,${QT_TOOLS_PATH}/bin/windeployqt.debug.bat,${QT_TOOLS_PATH}/bin/windeployqt.exe>" --qmldir "D:/git/myapp/Frontend/qml/" $<TARGET_FILE_DIR:myapp> COMMENT "Running windeployqt..."
Can someone help?
-
Dear all,
having similar issue and kinda stuck..
Using this post build command in my cmake file
# Add a post-build command to run windeployqt COMMAND "$<IF:$<CONFIG:Debug>,${QT_TOOLS_PATH}/bin/windeployqt.debug.bat,${QT_TOOLS_PATH}/bin/windeployqt.exe>" --qmldir "D:/git/myapp/Frontend/qml/" $<TARGET_FILE_DIR:myapp> COMMENT "Running windeployqt..."
Can someone help?
wrote on 15 Feb 2024, 09:40 last edited by@TechTinkerer It turns out that the application builds even with this compile time error. Even in a new test application with no contents at all I am getting this message and it works just fine.