Using the mingw cross compiler

Ralf Habacker ralf.habacker at freenet.de
Thu Apr 21 00:17:48 CEST 2005


Ralf Habacker schrieb:

> Angus Leeming schrieb:
>
>>Angus Leeming wrote:
>>  
>>
>>>I find that invoking qmake in the configure script as
>>>     (cd $outpath/qmake && qmake -win32 -spec
>>>     ${relpath}/mkspecs/$PLATFORM)
>>>does *not* work.
>>>    
>>>
>>
>>Rather, it does work, but doesn't do what I want.
>>$ qmake -win32 -spec ../mkspecs/win32-g++-cross
>>WARNING: Failure to find: generators\makefile.cpp
>>WARNING: Failure to find: generators\projectgenerator.cpp
>>WARNING: Failure to find: generators\mac\metrowerks_xml.cpp
>>...
>>WARNING: Failure to find: ..\src\tools\qunicodetables.cpp
>>WARNING: Failure to find: ..\src\tools\qfile_win.cpp
>>WARNING: Failure to find: ..\src\tools\qfileinfo_win.cpp
>>WARNING: Failure to find: ..\src\tools\qdir_win.cpp
>>WARNING: Failure to find: ..\src\tools\qlibrary_win.cpp
>>WARNING: Failure to find: ..\src\tools\qsettings_win.cpp
>>
>>It changes the directory separators to win32 style. I want unix style
>>directory separators but I want to build the _win.cpp files.
>>  
>>
> Ths is caused by qmake, which hardcodes the active win32/unix related 
> configuration. Please make sure, you are using recent sources from the 
> QT_WIN32_3_3_BRANCH (at least qmake/project.cpp revision 1.1.1.9 or >= 
> 1.1.1.12) , it contains a required patch. Hope that helps.
>
Just to make sure, the qmake running on unix requires the patch :-)

> Regards
> Ralf
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-cygwin/attachments/20050421/f44170cb/attachment-0001.html


More information about the kde-cygwin mailing list