Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to release a Qt Quick application?
I have built a release version of Qt Quick application using Qt Creator on Windows XP. It run great in Qt Creator. But in release folder, If I double click the exe file, a blank window pop up. I have checked the dll it used. All are in the release folder. Using Process Explorer I found comparing to run in Qt Creator, the exe does not load the image dll like: qjpeg4.dll, qico4.dll, qsvg4.dll, and qmng4.dll. But all these files are in the same directory as the exe file. Why the exe can not load these files?
they should be in imageformats directory
What you mean? I need to create a sub directory called imageformats relative to my exe file folder?
Yep and move these libs to this dir.
What I want is put evarything in release folder and release the folder to other PC which nol Qt library installed.
I have moved to the dll files but still no luck.
My directory structure is:
What is wrong?
all looks ok. Are you sure your problem is in not-loaded image plugins?
baysmith last edited by
I copy the contents of imageformats to plugins/imageformats relative to the exe, and create a qt.conf file.
Directory structure: @
I tried it but no luck. I use the depends.exe to profile it and found it said can not open wintab32.dll. But I searched my PC and can not find it.