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?
_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to