PDA

View Full Version : Qt 4.6.0 static



vdolek
26th December 2009, 12:32
Hi, i have been trying to compile Qt 4.6.0 static but it everytime failed. I did it on new instalation Windows XP SP2 on vmware.

I was compiling it with mingw which is in QtCreator 1.3.0 instalation (i think gcc-core-4.4.0). I added -static to QMAKE_LFLAGS (in mkspecs\win32-g++\qmake.conf).

My configuration:
configure -static -release -nomake examples -nomake demos -platform win32-g++

then:
mingw32-make

After few hours i got this: http://img188.imageshack.us/img188/7858/31057149.jpg

Thanks, vdolek

Erik-Moscow
27th December 2009, 17:53
Disable Phonon support at configuration.
(Phonon on Windows not supported by mingw without special patches)

Tanuki-no Torigava
27th December 2009, 22:14
Or build it with Visual C++ toolchain. Better for MS then MinGW.

Erik-Moscow
28th December 2009, 12:51
And use Windows SDK and DirectX SDK.