PDA

View Full Version : Yet another problem with qt static build on windows



Green
4th July 2010, 18:19
Hello...
I have one problem - I have build Qt statically under windows 7, but after I collect the program with Qt for its launch is still needed dll. I did the following steps:
1) Download qt-sdk-win-opensource-2010.04.exe and qt-win-opensource-4.7.0-beta1-mingw.ehe (qt 2010.04 is not going to statically, there is full of a bug:))
2) Install qt-sdk-win-opensource-2010.04.exe and qt-win-opensource-4.7.0-beta1-mingw.eчe
3) moved to the folder where the Qt7
4) written in the console:

configure-release-nomake examples-nomake demos-no-exceptions-no-stl-no-rtti-no-qt3support-no-scripttools-no-openssl-no-opengl-no-webkit-no-phonon-no-style- motif-no-style-cde-no-style-cleanlooks-no-style-plastique-no-sql-sklite
-static -platform-win32-g++
Then mingw32-make
5) The library compile all
When i build mu program with new library, my progaram still needed mingw.dll and QtCore.dll!!!! and other qt .dll. .Exe file is very small.
What have I done wrong? Where static libraries Qt?

Green
4th July 2010, 19:26
Everything is normal ... just need to build release