I purchased the commercial license, and installed Qt 5.3.1 on Win7 with Visual Studio 2012 as the compiler.
I created a very simple test application that is just one Qt form with a text input box. It doesn’t even do anything. This of course runs just fine.
I added CONFIG += static to my .PRO file, set it to release build, ran “clean”, then qmake and then rebuild all.
I then located the resulting EXE in the build folder in Windows (outside Qt) and ran it, but was shown an error indicating missing DLLs (QtWidgets.dll) and of course the EXE was very small (30kb)
How, with my new commercial license, can I build a release EXE that does not have any DLL dependencies (all statically linked), so that it can be deployed as a standalone EXE?
Thanks!
↧