project.exe does not launch
-
I programmed a project in QtQuick.
I build the project with qmake and the Desktop QT 6.2.2 MinGw 64 Bit Kit.
Inside QtCreator it runs smoothly without error messages.Then I copied the project.exe and the qml files into a separate folder and ran the command:
windeployqt project.exe
in the MinGw 9.0.0 64 Bit console.
That also worked and the folder is now filled with several folders and .dll files.
But when I click on the project.exe file nothing happens.
There is no error message.
The project.exe file is not shown in the TaskManager.Does someone know what I am doing wrong?
I am using Windows 10.
[solved] I used cmake instead of qmake ... dont know why but now its working
-
This indicates that some libraries and qtquick files are not copied properly. Since you have already solved the problem with cmake, you can move this to solved state.
-
@RLocksley said in project.exe does not launch:
windeployqt project.exe
if that is the whole command you used, that you missed the
--qmldir
parameter
https://doc.qt.io/qt-5/windows-deployment.html