How to use QT 4.6.3 with GCC 4.5.0 under windows xp?
Greetings,
I will be developing a UI layer with QT, but I have other code which I need to compile with GCC 4.5.0.
How can I use QT with unmodified mingw (gcc 4.5.0, gdb) ?
Can I use all tools and QT Creator with mingw?
I need to unify a bunch of projects on the same compiler version, and I can't force QT's version of gcc to other software.
Your help would be much appreciated. My dev environment is windows xp.
Best Regards
Seref
Re: How to use QT 4.6.3 with GCC 4.5.0 under windows xp?
Have you tried to build Qt with gcc 4.5? Qt supports gcc, as its sdk is delivered with gcc 4.4. Also I haven't tried it with 4.5 it should work.
Re: How to use QT 4.6.3 with GCC 4.5.0 under windows xp?
Hi Lykurg,
I wanted to know if it is possible to do it, before giving it a try. Now that you've given me hope, I'll give it a try, and post results.
Kind regards
Seref
Re: How to use QT 4.6.3 with GCC 4.5.0 under windows xp?
Hi,
I've managed to compile using gcc 4.5.0, though I had to delete some temporary files during compilation and resume compilation afterwards.
However, the qt directory now has an enormous size. For example in qt\bin qtgui4d.dll is almost 380 megabytes! Total qt directory size is 5.45 gigabytes.
Is this normal? Have I done something wrong here? I've simply done configure (no arguments) and mingw32-make
Best Regards
Seref
Re: How to use QT 4.6.3 with GCC 4.5.0 under windows xp?
You've built Qt in debug mode ;) If you only build the release version it will be much smaller.
Re: How to use QT 4.6.3 with GCC 4.5.0 under windows xp?
Thanks wysota,
I think the default for configure is both release and debug, since I have both xyz.dll and xyzd.dll . As long as my code works OK with the release versions, I don't mind having large dll's on the disk. Still, the numbers are scary :) would mingw32-make clean help after the compilation to remove any temporary stuff?
Kind regards
Seref
Re: How to use QT 4.6.3 with GCC 4.5.0 under windows xp?
Yes, make clean will remove all object files.