Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Visual Studio VISX addon fails to load projects using Qt 5.9.0



  • Visual Studio 2015 VISX addon (qt-vs-tools-msvc2015-2.1.1.vsix) fails to load projects using Qt 5.9.0.
    I get the following errors:
    [1] - C:/PROGRAMFILES/QT/QT5.9.0/5.9/MSVC2015_64/mkspecs/features/toolchain.prf:129: Variable QMAKE_CXX.COMPILER_MACROS is not defined.
    [2] - Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set
    --- (Import): Error(s): 2
    --- (qmake) : Exit Code: 3

    It works for qt 5.7.1.



  • Do you see the 5.9 config in QT VS Tools -> Qt Options ?



  • yes

    I believe this may be due to the directory structure change in qt 5.9.0. Previously 32 and 64 bit installations were separate, now combined.with different directory structure.


Log in to reply