Running a QML .exe file on Windows
Using Qt 5.10 on Qt Creator I ran a QML program by the Desktop kit in the Release mode. Then I copied its executable file into a folder and added all .dll files it requested for being run from this address:
Now when I double click the file it makes no action!
What can the problem be please?
Take a look at windeployqt especially the qmldir option for deploying applications for Windows.
Take a look at windeployqt especially the qmldir option
It's a executable file in the address:
When I double click it, it has no reaction just a quick blink.
If there is an appropriate method to make that "my_file" file run properly, please tell me of that.
It's a command line tool.
Here are the files with that name on my PC:
Which one do you mean? And how to use its options especially
- click start
- A black console opens
- read the help on what to pass as arguments
- call windeployqt again with the appropriate arguments
I used this command. Is it correct please?
C:\Qt\Qt5.10.0\5.10.0\mingw53_32\bin\windeployqt.exe --qmldir C:\Users\Abbasi\Desktop\Test\QML_test.apk C:\Users\Abbasi\Desktop\data\QML_test.exe
You have to give the path to where your QML files are in your application sources to the
You have to give the path to where your QML files are in your application sources
Which folder do you mean from the following ones? I used the second one from top.
As I already wrote: your application sources where the qml files are located.