title: How to know in a Qt .pro file if visual studio is the compiler?
body: <p>Is there a way to know if Visual Studio is the compiler in a <code>.pro</code> file?</p>
  
  <p>For example there are a lot of ways to detect things in the project file including OS or configuration:</p>
  
  <pre><code>CONFIG(boost_asio) {
      DEFINES += BOOST_SOCKETS
      SOURCES += asiosocket.cpp
      LIBS += -L/usr/local/lib \
          -lboost_system
  }
  
  OTHER_FILES += 
  
  contains(QT_VERSION, ^5\\.[0-9]\\..*) {
    SOURCES += wavreader.cpp
    HEADERS += wavreader.h
    QT += multimedia
  }
  
  include(../../Shared/Common.pri)
  
  windows: { LIBS += -L$$bin -lzip-2 }
  !windows: { LIBS += -lzip }
  </code></pre>
  
  <p>What I want is to provide a proper linking to boost libraries on both mingw and boost. But they have names like <code>boost_chrono-vc120-mt-1_58</code> which are dependent on the compiler.</p>
  
  <p>Is there any way I can have something like:</p>
  
  <pre><code>visualstudio {
     LIBS += -LC:/boost/libs -lboost_system-vc120-mt-1_58
  }
  </code></pre>
  
  <p>One way would be to have the user tell which compiler he's using in the <code>CONFIG</code> argument of qmake, but I don't think that's the best solution.</p>