[PATCH] Qt4 configure.

Andreas Hausladen Andreas.Hausladen at gmx.de
Sun Jul 10 22:45:34 CEST 2005


Hallo,

>   This is a port of qt-3 configure to build with Qt4. I also did some work in it to generate the files Qt4 needs to build like qconfig.pri, but it's still not working.
>
I use the original configure.exe called by a batch file. Configure.exe 
generates nothing mingw related and so I get only three error messages 
saying that there is no mingw-make.exe which are really fast out of 
screen because the compiler starts qmake compilation.

Furhtermore the bcc32, msvc and msvc.net mkspecs are now complete.
http://andy.jgknet.de/oss/qt/cvs_qt4msvc_bcc.zip
For bcc32 some source files need a patch because the bcc32.exe does not 
support the whole Qt code without some minor changes. For example the 
following code makes problems under bcc32:

 > void func(QString &value);
 > ...
 > func(condition ? QString::fromLatin1("Hallo") : QString());  // 
reference requires LValue or so.

But if I add "(" and ")" it accepts the code

 > func((condition ? QString::fromLatin1("Hallo") : QString()));


WARNING: The mkspecs/win32-msvc.net/qmake.conf is not compatible to 
Thiago A. Correa's. It must be merged.


Regards,
Andreas Hausladen


More information about the kde-cygwin mailing list