how to run exe file
-
@ali-aydin ok, the deployment folder seems to be missing tons of qml related plugins.
What was the actual call to windeployqt ?
-
@ali-aydin ok, the deployment folder seems to be missing tons of qml related plugins.
What was the actual call to windeployqt ?
-
@ali-aydin ok, you should use it. it is, like the name suggested for deploying your executable.
https://doc.qt.io/qt-6/windows-deployment.html
General steps on how to use it:
- Open command line prompt
- execute the qtenv2.bat inside the bin folder of the Qt kit, you used to compile your application
- in the same folder you will also now find the windeployqt.exe
- so execute that program, give it the fill path to your own binary, and since its a qml application, also give the --qmldir option the full path to the folder containing your main.qml (the actual source file)
90% of the time, if done properly, this should be everything you need to do
@ali-aydin and where in that command is the requested --qmldir option ? 😉
@J-Hilk said in how to run exe file:
- so execute that program, give it the full path to your own binary, and since its a qml application, also give the --qmldir option the full path to the folder containing your main.qml (the actual source file)
-
@ali-aydin and where in that command is the requested --qmldir option ? 😉
@J-Hilk said in how to run exe file:
- so execute that program, give it the full path to your own binary, and since its a qml application, also give the --qmldir option the full path to the folder containing your main.qml (the actual source file)
-
@ali-aydin I'm sorry, do you mean its now working for you ?
-
@ali-aydin I'm sorry, do you mean its now working for you ?