Deploying an Application on Windows
I’ve made an application using Qt Creator and it runs flawlessly on my Arch Linux desktop computer. Now I want to give it to my friends, but the problem is that most of them use Windows. Therefore I’m required to compile the application for Windows systems, and while that’s not a problem, I can’t seem to find the right DLL-files.
When I had compiled my application I followed this YouTube tutorial to find the right DLL-files:
I copied all DLL-files that Dependency Walker told me were missing to the same folder as my .exe file is in. Despite that, the application crashes on connect (it’s an IRC client and it crashes when you have connected) and I have no idea why.
I think it’s related to what Dependency Walker tells me about IEFRAME.dll, but I’m not sure how to solve it:
QtCore4.dll, QtGui4.dll, QtNetwork4.dll, libgcc_s_dw2-1.dll and mingwm10.dll were all copied from this folder:
What have I done wrong?
You can use dependency walker [dependencywalker.com] to get the dependencies of your app. It cannot resolve plugins!
dependency walker [dependencywalker.com] to get the dependencies of your app. It cannot resolve plugins!You can use
In his first post he already mentioned that he used dependency walker.
Sorry, I missed this. We had a similar problem this week. The problem was that there where some different Qt libs in the system folder installed.
Another problem can be, that if you start you app from Qt Creator, the working path is set explicit. If you start your app anywhere else, the path is different.