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

No Kits Found



  • Dear Friends,

    I just installed "qt-opensource-windows-x86-5.13.1.exe".

    From the download page indicated below.
    http://download.qt.io/official_releases/qt/5.13/5.13.1/

    When starting a New Project, I received the message no kits found. Please advise how to get and install the tool kits.

    Cheers!

    Zaki


  • Moderators

    • use the online installer if you can, it's better
    • you probably don't have any compilers installed. If you installed Qt for MinGW, you need to also install MinGW compiler (it's probably included in the offline installer you chose - not sure). If you chose Qt for MSVC, you need to install Microsoft's installer (easiest way to do it is to install Visual Studio)
    • make sure your compiler version matches the one Qt was compiled for


  • Sierdzio,
    Thank you for the reply! However, I did install both MSVC and MinGW as part of the installation. Please see screen shot below.
    I also already have Visual Studio installed.

    Please help!
    Zaki

    735f7771-8e30-45f4-8bbf-c0591ef01648-image.png

    5168d449-e029-4052-bed6-ff8e9c46adfa-image.png

    fcf7f30e-46da-4173-8002-fd37f6c897ea-image.png


  • Moderators

    In Optons->Kits, check the output of "Qt Versions" and "Compilers" - do you have Qt 5.13.1 there? Are the compilers you have installed there?



  • Thank you for the reply!

    Below is my screenshots for Qtversions and compilers.
    I do not see Qt 5.13.1 in Qtversions.
    However, I do see compiler information.

    Any thoughts? I am a beginner in using Qt. So you should assume I have no knowledge of this (outside of general C++ programming).

    8bbf3a79-57a6-499b-8660-f8ae48c79d26-image.png

    7b886c56-55fa-4f02-a300-4905248de080-image.png


  • Lifetime Qt Champion

    @Zak_was_here This is strange, you should see your Qt versions there.
    Try to add them manually: click on "Add..." and then look for qmake.exe of the Qt version you want to add (c:\Qt\QT_VERSION...), select that.


  • Moderators

    You have MSVC 2019 installed, but Qt package you have selected is for 2017 version. But MinGW should work, at the very least, and all Qt versions should show up.

    Do as @jsulm suggests and add these Qt builds manually.



  • Thank you jsulm and sierdzio for the follow up.

    I've located 4 files for qmake.exe at the following directories.
    C:\Qt\Qt5.13.1\5.13.1\mingw73_64\bin
    C:\Qt\Qt5.13.1\5.13.1\mingw73_32\bin
    C:\Qt\Qt5.13.1\5.13.1\msvc2017\bin
    C:\Qt\Qt5.13.1\5.13.1\msvc2017_64\bin

    I've added them all on to the QT versions as shown in the screen shot below.

    28c6ee9f-be9f-4920-8e58-93a054886dd0-image.png

    However, I still do not see any kits.

    Please advise.

    Thank you!
    Zak.


  • Moderators

    @Zak_was_here said in No Kits Found:

    However, I still do not see any kits.

    Add them manually. Now that you have Qt Versions and Compilers set up, it's just a matter of selecting a matching set from combo boxes.

    When you hover over red exclamation marks, what does the tooltip say?



  • So it does appear that the MSVC2019 has populated in the kits as shown below.
    4cd15e2f-60a2-4d74-bed6-b06d89152d7b-image.png

    Per your suspicion, the red exclamation marked ones did not. No message is shown when i hover over the exclamation.
    However, I did select the line item if that helps. Please see screen shot below.

    d55e13cf-ef73-45af-aa6c-2f486c0a700f-image.png


  • Moderators

    @Zak_was_here said in No Kits Found:

    So it does appear that the MSVC2019 has populated in the kits as shown below.

    Great, then you can start using that kit to compile your applications.

    Per your suspicion, the red exclamation marked ones did not. No message is shown when i hover over the exclamation.
    However, I did select the line item if that helps. Please see screen shot below.

    You don't need MinGW if MSVC version is already working. Looks like MinGW you installed was not detected. You can add it manually in Compilers tab.

    It's really weird that Qt Creator hasn't autodetected all of this when you installed Qt.


Log in to reply