View Full Version : How to make install app using statically built opensource libraries using Qt 5

13th February 2013, 16:15
I built the opensource libraries using the configure -static option (plus other options) on Windows 7 32 bit. I then ran nmake and added the compiled libraries to Qt 5 as a kit, and built the app. Then I added the necessary dlls using the instructions at


The resulting package runs on Windows 7 32 bit and Windows 7 64 bit, but it doesn't run on XP, Vista, or Windows 8. Does anyone have any experience in which other dlls are needed. I used dependency walker, but the list of dlls is huge. Is it just a process of elimination with that list, or is there some needed dlls that are commmonly needed. Also dependency walker does completely list all of the dlls. For example, does it list DirectX SDK needed dlls (I used configure with the -angle option)? Or other dlls not listed? Any insight would be appreciated. Thanks.

13th February 2013, 23:12
it doesn't run on XP, Vista, or Windows 8
Is there an error message? Which build of Qt 5 do you use? Did you copy "qminimal.dll" and "qwindows.dll", too? That libraries have to be in the "platforms"-subdirectory and dependency walker may not list them. Did you install Visual C++ Redistributable an XP, Vista and Windows 8?