prelimary mingw cross compile instructions

Ralf Habacker ralf.habacker at freenet.de
Fri Apr 8 21:32:18 CEST 2005


On Friday 08 April 2005 21:06, Daniel Verite wrote:
>  Ralf Habacker wrote:
> > Howto: http://sourceforge.net/project/shownotes.php?release_id=318305
> >
> > It would be nice if anyone can verify this howto before we can make an
> > official howto.
>
> I've tried with the debian mingw32 package (3.4.2.20040916) as the
> cross-compiler, on qt-win-free-3.3.3-2005-04-08-src.tar.bz2
>
> For some reason I had to add #include <ctype.h> in qfontdatabase_win.cpp
> and #include <locale.h> in qapplication_win.cpp in order to compile
> (otherwise toupper() and LC_* defines were missing)

Thanks for this pointer. Seem that I haved missed this to include in cvs. 

> make finishes with an error saying that the 'copy' command is missing.
> At this point, in the lib/ directory, there's  a libqt.a but no libqt-mt.a
> and no libqtmain.a
>
> If I try to rerun configure with the -thread option, it outputs:
>
> ~/src/qt-3$ ./configure -no-cups -platform win32-g++ -shared -thread
>
> ERROR: Qt is not configured to support threading on this platform
>        See the THREAD settings
> in /home/daniel/src/qt-3/mkspecs/win32-g++/qmake.conf
>
> I don't see anything suspicious in qmake.conf. Any idea?

search for AUTOTHREAD in configure. There you find a message that 
qmake.conf / QMAKE_LIBS_THREAD has to be set to the threading libary 

Regards
 Ralf 



More information about the kde-cygwin mailing list