How to manually set Visual C++ compiler in Qt Creator?



  • Visual Studio Community 2017 was released few days ago and I immediately upgraded to the latest version, yet Qt creator doesn't support MSVC2017 compiler. Then I installed an extra compiler(platform toolset v140) for my VS 2017 and found that Qt creator failed to detect MSVC2015 compiler, so I wonder how to manually set MSVC2015 compiler in Qt creator?(platform toolset v140 for MSVC2015 has been already installed in my VS 2017)


  • Qt Champions 2017

    @jzinqt
    Hi
    To use VS2017 with Qt, you must compile a version yourself :)

    Im not sure why vs2015 was removed, but iassume its VS fault :)

    You can add it back again
    http://doc.qt.io/qtcreator/creator-targets.html



  • @mrjj
    Hi
    Finally I solved the problem by installing Qt for Mingw instead of Visual Studio, but anyway I really appreciate your kind help.


  • Qt Champions 2017

    @jzinqt
    Super. That is often easier as it comes complete with compiler and debugger.
    Qt for Visual Studio does not as its not permitted.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.