prelimary mingw cross compile instructions
Daniel Verite
daniel at manitou-mail.org
Fri Apr 8 21:06:56 CEST 2005
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)
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?
--
Daniel
PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org
More information about the kde-cygwin
mailing list