[Qt-interest] Anyone builded Qt on win64 (win 7) using mingw64 ?

Zeljko zeljko at holobit.net
Wed Sep 28 18:39:59 CEST 2011


Yves Bailly wrote:

> Le 28/09/2011 10:39, Friedemann Kleint a écrit :
>> we are currently evaluating getting Qt 4.8 compiled with MinGW Windows using
>> gcc 4.6.X (32bit). This requires the attached patch.
> 
> I've not tried yet to build Qt 4.8, however I didn't have to apply such a
> patch. Note I'm using TDM-mingw32, not "pure" mingw.
> 
>> When trying  to build with TDM-mingw64 (gcc 4.6.1), qmake fails to build
>> since the gcc used there does not seem to know the flag: -static-libstdc++
>> Did you run into this issue with gcc 4.5.X as well - did you make any other
>> modifications except the int64 changes to work around?
> 
> Strange, I didn't have this problem with previous TDM...
> 
> Just tried to build Qt 4.7.4 using TDM-mingw64 (gcc 4.6.1), indeed the
> building of qmake fails. I removed the "-static-libstdc++" from Makefiles in
> the "qmake" folder: the building of qmake.exe succeeded.
> 
> moc, rcc, uic, ... and QtCore build successfully, now waiting for the
> remaining parts.

Interested in "The end" :)

> 
> Hope this helps.
> 
> PS: While we're at it, here's a warning that cause me some wonders, if someone
> could have a
>      look at those...
> thread\qthread_win.cpp: In static member function 'static void*
> QThread::currentThreadId()': thread\qthread_win.cpp:362:43: warning: cast to
> pointer from integer of different size
> [-Wint-to-pointer-cast]

hm.. could crash on 64bit with such casts.

zeljko



More information about the Qt-interest-old mailing list