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. QtCreator Kit Trouble
Forum Updated to NodeBB v4.3 + New Features

QtCreator Kit Trouble

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 4 Posters 823 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
    DarenW
    wrote on last edited by
    #1

    I'm trying to make a dumb little "hello world" level Qt program using QtCreator. After Create Project, I reach Kit Selection where "No suitable kits found" blocks any further progress. In Preferences, Kits, the only option "Desktop" is in italics and has a yellow triangle. Hovering over the triangle tells me two warnings. One is about CMAKE_PREFIX_PATH. The other I forgot, and qtcreator is lost under other windows... I'll just fire up another... create a project... oh wait, this time it has a step for selecting a build system. That didn't happen the first time. And the kit selection has a kit, already checked, no warning.

    Okay, I'm confused. My question was how to fix the kit warning, but that magically healed while I wrote this post.

    So now my question is: what the heck was going on? Why no build system selection the first time, and no kits to choose with CMAKE_PREFIX_PATH trouble?

    D M 2 Replies Last reply
    0
    • D DarenW

      I'm trying to make a dumb little "hello world" level Qt program using QtCreator. After Create Project, I reach Kit Selection where "No suitable kits found" blocks any further progress. In Preferences, Kits, the only option "Desktop" is in italics and has a yellow triangle. Hovering over the triangle tells me two warnings. One is about CMAKE_PREFIX_PATH. The other I forgot, and qtcreator is lost under other windows... I'll just fire up another... create a project... oh wait, this time it has a step for selecting a build system. That didn't happen the first time. And the kit selection has a kit, already checked, no warning.

      Okay, I'm confused. My question was how to fix the kit warning, but that magically healed while I wrote this post.

      So now my question is: what the heck was going on? Why no build system selection the first time, and no kits to choose with CMAKE_PREFIX_PATH trouble?

      D Offline
      D Offline
      DarenW
      wrote on last edited by
      #2

      @DarenW Update. I select different project types, "Qt Custom Designer Widget", "Qt Quick UI Prototype", "Qt Widget Application" etc and sometimes there's a build system step, sometimes not. If not, I may or may not find a valid kit.

      I'm trying to follow a how-to tutorial that says to create a "Qt Quick UI Prototype" but that's one with no build system step and no valid kit to select.

      Ronel_qtmasterR 1 Reply Last reply
      0
      • cristian-adamC Offline
        cristian-adamC Offline
        cristian-adam
        wrote on last edited by
        #3

        Do you have CMake and Ninja from Qt SDK (or externally) installed?

        1 Reply Last reply
        0
        • D DarenW

          @DarenW Update. I select different project types, "Qt Custom Designer Widget", "Qt Quick UI Prototype", "Qt Widget Application" etc and sometimes there's a build system step, sometimes not. If not, I may or may not find a valid kit.

          I'm trying to follow a how-to tutorial that says to create a "Qt Quick UI Prototype" but that's one with no build system step and no valid kit to select.

          Ronel_qtmasterR Offline
          Ronel_qtmasterR Offline
          Ronel_qtmaster
          wrote on last edited by
          #4

          @DarenW hi
          Which version of Qt are you using?
          Did you install Qt, the required kit, cmake and ninja from the official online installer?
          Did you added cmake to your path environment variable ?
          You can define CMAKE_PREFIX_PATH in qt as well

          1 Reply Last reply
          0
          • D DarenW

            I'm trying to make a dumb little "hello world" level Qt program using QtCreator. After Create Project, I reach Kit Selection where "No suitable kits found" blocks any further progress. In Preferences, Kits, the only option "Desktop" is in italics and has a yellow triangle. Hovering over the triangle tells me two warnings. One is about CMAKE_PREFIX_PATH. The other I forgot, and qtcreator is lost under other windows... I'll just fire up another... create a project... oh wait, this time it has a step for selecting a build system. That didn't happen the first time. And the kit selection has a kit, already checked, no warning.

            Okay, I'm confused. My question was how to fix the kit warning, but that magically healed while I wrote this post.

            So now my question is: what the heck was going on? Why no build system selection the first time, and no kits to choose with CMAKE_PREFIX_PATH trouble?

            M Offline
            M Offline
            Mlibu
            wrote on last edited by Mlibu
            #5

            @DarenW
            Did you install a Qt version?

            Also, I found that Qt Creator cannot automatically detect a kit with anything other than the Qt6 that they offer in the unified installer. You can make the kit yourself. Tell me if you need the steps for that.

            1 Reply Last reply
            0

            • Login

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