QML application won't run / render after quick deployment on Win 7
-
Hello,
I've developed a simple app on QT 5.5.0 on Win 8.1.
I've deploy it to my Acer aspire one netbook that is running win 7.
I did a quick deployment by copying the executable and all dlls, plugin, etc into a folder.The app could be run without anyproble, as in doubleclicking on the executable, but nothing is shown or rendered.
Has anyone encountered the same problem? Any help is appreciated
-
-
I fixed it.
The solution from that link is not detailed enough.
Basically, I use this method:Copy the following into C:\Deployment\
- The release version of MyApp.exe
- All the .dll files from C:\Qt\5.2.1\mingw48_32\bin\
- All the folders from C:\Qt\5.2.1\mingw48_32\plugins\ (If you used QML)
- All the folders from C:\Qt\5.2.1\mingw48_32\qml\
and then renamed my C:\QT folder so that I can ensure my application is running with the dlls I've copied.
run the application, and select all file and press delete. Window won't delete file that is currently being used by the application.
-
Hi,
Since you are using QML did you use the
--qmldir
option ofwindeployqt
?