1 Attachment(s)
Error when compiling for static version in windows
Hi i was trying to compile a static version of qt 4.4.1 for windows xp sp 3 using the mingw32
i follow this procedure
- install 4.4.1
- modify \mkspecs\win32-g++\qmake.conf to include the -static reference
"QMAKE_LFLAGS = -static -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc" - configure using command: "configure -static -release -no-exceptions -webkit -assistant-webkit"
- run "make sub-src", which seems to finish okay
- then try to run "make install" but then i get an error when it tries to compile assistant
i have included errors in the zip file
Any help in helping me solve this problem would be appreciated
Re: Error when compiling for static version in windows
You cannot link Webkit (nor Phonon) statically as they are LGPL libraries.
Re: Error when compiling for static version in windows
Actually, I have linked WebKit statically into my application. It worked right out of the box. I'm not sure about Phonon though as I have never used it.
Re: Error when compiling for static version in windows
Quote:
Originally Posted by
durbrak
Actually, I have linked WebKit statically into my application. It worked right out of the box. I'm not sure about Phonon though as I have never used it.
durbrak: Can you please describe how did you managed that (some special flags in .pro or configuration or something like that)? With MinGW and Windows i have the same errors like described.
jpn: LGPL should not be an problem in a GPL-build.
Re: Error when compiling for static version in windows
For what its worth I followed the procedure at:
http://rag.com.au/linux/qt4howto.html
and it worked for me.
Regards, B1.