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

Empty CMake generator list in Qt kits



  • I've recently updated Qt to version 5.11.2 and also have 5.9.4. In my Qt kits CMake generators list is empty so I can't work with cmake projects. I'm using cmake version 3.13.1 qt automatically detecting the CMake installation but qt showing warning messages in kits
    1_1543848463074_qt.jpg 0_1543848463073_Capture.JPG "CMake version unsupported. Please update to version 3.0 or higher" and
    "CMake Tool is unconfigured, CMake generator will be ignored"

    Qt versions are msvc2015_64 . Also installed VS2015 and Windows kits10 with it.
    I reinstalled Qt, VS2015, and CMake , but the problem still exists, ie. the generator list is empty.
    In Qt documentation, I can't find any steps to add cmake generator list.
    From where Qt get details of the generators? How can add the generator in the list?
    Please help to sort out the issue.
    I have attached screenshots of the kit configuration screens.

    while I starting a new cmake project getting application output error message Running Windows Runtime device detection.
    No winrtrunner.exe found.
    Running "C:\Program Files\CMake\bin\cmake.exe C:/Users/jnan/Documents/untitled1we2 "-DCMAKE_CXX_COMPILER:STRING=C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/amd64/cl.exe" "-DCMAKE_C_COMPILER:STRING=C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/amd64/cl.exe" "-DCMAKE_PREFIX_PATH:STRING=C:/Qt/5.11.2/msvc2015_64" "-DQT_QMAKE_EXECUTABLE:STRING=C:/Qt/5.11.2/msvc2015_64/bin/qmake.exe"" in C:\Users\jnan\AppData\Local\Temp\QtCreator-ansmAQ\qtc-cmake-vpLeKpPh.


  • Lifetime Qt Champion

    Hi,

    What version of Qt Creator are you exactly using ?



  • Qt Creator 4.7.2
    Based on Qt 5.11.2 (MSVC 2015, 32 bit)

    Built on Oct 23 2018 13:57:10

    From revision 66ed57ce3e

    Kit is Qt 5.11.2 MSVC2015 64bit

    CMake 3.13.1

    From where Qt fetch this generator list?

    1_1543899410688_Untd.png 0_1543899410686_cmake.jpg



  • @BinuJanardhanan
    The issue solved by running Qt creator in the VS native compiler x64 command prompt as administrator. Now the list is updated.


Log in to reply