[SOLVED] Again on Windows Deployment
I have been trying to deploy my (quite simple) Qt/QML app to Windows (8.1, if that matters) and I simply can't do it, despite reading every thread in this forum and guides all over.
First, I tried to do it the standard way:
---- // All other required DLLs
-------- // all .dll files
But this sh*t won't start!!! So I tried to add C:\Qt\5.2.1\mingw48_32\bin to Windows's PATH and place all DLLs inside there, but still no go.
I then used DependencyWalker to see what the hell is missing, and here's what it says:
So, looks like some Windows API are missing, right? Then why does that app start without a problem when launched from Qt Creator? And those missing .DLLs are obviously not installed in the Qt folder...
I also tried to use process explorer from the Sysinternals suite (by Russinovic) to see which .DLLs are used by the working exe (opened in Qt Creator), and the ones I have listed above are all those listed by process explorer, so I should not be missing anything...yet, nothing works!!! Please help...
You also need all the qmldir files in your QML plugin subdirectories.
Ignore the Windows DLLs. Those are false positives -- you'll see them even when you try to open a Microsoft program like Visual Studio.
If you still have no luck, try this guide: http://qt-project.org/wiki/Deploy_an_Application_on_Windows It ensures that no required file can possibly be missed.
That was it...thanks! I saw that post and I was sure I had already tried to add those files to the deployment folders. Maybe I did it when still missing other files...what a confusion :D
You're welcome :)
Please edit your original post and add "[SOLVED]" to the title.