On Sat, Oct 09, 2010 at 09:24:09PM +0000, Bob Babcock wrote:
> I have a project that I can build from Qt Creator with either MinGW or VC++ 
> 2008 Express.  I can use the same .pro file for either compiler, but VC++ 
> needs an additional library (and MinGW doesn't want to see this library).  
> I found that I can accommodate this by
> 
>       contains(QMAKE_EXT_OBJ, .obj)   {
>               LIBS += user32.lib
>       }
> 
> This seems like a strange way to do it, and only works because the two 
> compilers use different extensions for their object files.  Is there a way 
> to test on the build configuration name instead?

win32 {
    ...
}

or more detailed e.g.

win32-msvc* {
    ...
}


Andre'
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to