Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set

  • When I try to switch a subdirs project's kit to MSVC, I get the error message
    "Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set"
    and none of the subdir projects are loaded (my "Projects" tree only has the root node and the top .pro file).

    I'd love to set QMAKE_MSC_VER correctly, but I can't seem to find it in the Qt documentation. At least nothing relevant turns up, and it's certainly not in the qmake variable list.

    Can anyone give me a hint what's missing?

  • @Asperamanca

    Probably resolved this already..but this is for anyone else having a similar issue.

    QMAKE_MSC_VER = 1900
    QMAKE_MSVC_VER = 14.0
    to the file..

    # qmake configuration for win32-msvc
    # Written for Microsoft C/C++ Optimizing Compiler (all desktop versions)
    QMAKE_CFLAGS           +=
    QMAKE_CXXFLAGS         +=
    QMAKE_MSC_VER = 1900
    QMAKE_MSVC_VER = 14.0

Log in to reply