Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. "No kits are enabled for this project" when setting Cmake as the build system
Forum Updated to NodeBB v4.3 + New Features

"No kits are enabled for this project" when setting Cmake as the build system

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 2 Posters 2.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DanielVLM
    wrote on last edited by
    #1

    Hi everyone,

    I'm kinda a newbie to Qt and I'm trying to work in a desktop application to manage somme communication between a PC and a PLC. I'm currently working with Qt Creator ver 5.12.12 on Windows 10 since I need to work with some libraries in 32 bits that wont work with the latest version.

    I've been able to develop some apps using qmake. However, when I try to create a project from scratch setting CMake as the build system, it will show me a warning next to the CMakelists file as you see below:

    Capture.PNG

    When I try to set some kits to this project, the kits I installed are grayed out and I can't chose any:

    Capture2.PNG

    This is the view from the Options window:

    Capture3.PNG

    Both 32 and 64 ver have C and C++ compilers set. So I saw it could that I don't have a Qt version installed because maybe I forgot to check that option when installing Qt Creator, but that's not the case. As you can see bellow, I have both 32 and 64 versions installed:

    4.PNG

    So, what could be wrong? Thank you in advance for any help.

    jsulmJ 1 Reply Last reply
    1
    • jsulmJ jsulm

      @DanielVLM If you scroll down in the Kit are the CMake parts (like "CMake Tool") defined?

      D Offline
      D Offline
      DanielVLM
      wrote on last edited by
      #3

      @jsulm The "CMake Tool" field is empty, as you can see bellow:

      5.PNG

      If I click on "Manage" I don't get any option to choose:

      6.PNG

      jsulmJ 1 Reply Last reply
      0
      • D DanielVLM

        Hi everyone,

        I'm kinda a newbie to Qt and I'm trying to work in a desktop application to manage somme communication between a PC and a PLC. I'm currently working with Qt Creator ver 5.12.12 on Windows 10 since I need to work with some libraries in 32 bits that wont work with the latest version.

        I've been able to develop some apps using qmake. However, when I try to create a project from scratch setting CMake as the build system, it will show me a warning next to the CMakelists file as you see below:

        Capture.PNG

        When I try to set some kits to this project, the kits I installed are grayed out and I can't chose any:

        Capture2.PNG

        This is the view from the Options window:

        Capture3.PNG

        Both 32 and 64 ver have C and C++ compilers set. So I saw it could that I don't have a Qt version installed because maybe I forgot to check that option when installing Qt Creator, but that's not the case. As you can see bellow, I have both 32 and 64 versions installed:

        4.PNG

        So, what could be wrong? Thank you in advance for any help.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @DanielVLM If you scroll down in the Kit are the CMake parts (like "CMake Tool") defined?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        D 1 Reply Last reply
        1
        • jsulmJ jsulm

          @DanielVLM If you scroll down in the Kit are the CMake parts (like "CMake Tool") defined?

          D Offline
          D Offline
          DanielVLM
          wrote on last edited by
          #3

          @jsulm The "CMake Tool" field is empty, as you can see bellow:

          5.PNG

          If I click on "Manage" I don't get any option to choose:

          6.PNG

          jsulmJ 1 Reply Last reply
          0
          • D DanielVLM

            @jsulm The "CMake Tool" field is empty, as you can see bellow:

            5.PNG

            If I click on "Manage" I don't get any option to choose:

            6.PNG

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #4

            @DanielVLM Well, you do not have CMake (at least QtCreator does not know where to find it), so it can't work. Install CMake then QtCreator should auto detect it, if not you can manually specify the path.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            D 1 Reply Last reply
            2
            • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
            • jsulmJ jsulm

              @DanielVLM Well, you do not have CMake (at least QtCreator does not know where to find it), so it can't work. Install CMake then QtCreator should auto detect it, if not you can manually specify the path.

              D Offline
              D Offline
              DanielVLM
              wrote on last edited by
              #5

              @jsulm Thank you, I didn't have CMake on this machine. I didn't know I had to install it manually but since I used an offline installer for the 5.12.12 version I guess it is not automatically done.

              I installed CMake and Qt Creator automatically detected it and now everything works fine.

              Thank you so much!

              1 Reply Last reply
              1
              • D DanielVLM has marked this topic as solved on

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved