[Qt-interest] qmake: select variables depending in compiler

Matthias Pospiech matthias.pospiech at gmx.de
Wed Nov 11 10:02:21 CET 2009


I have a pro file which sets up my project with many libaries.
These libaries exist for visual studio 2005, 2008, mingw and soon also 
for linux (gcc)

These libaries (dll) files are stored in different path, such as

project/lib/libaryname//$${COMPILER}/debug

where COMPILER has currently the values {mingw, msvc2005, msvc2008, gcc}

Now I want to have an automatic selection of these paths depending on 
the compiler currently used.

How would one achieve this within qmake?

Matthias




More information about the Qt-interest-old mailing list