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. "Le kit doit définir un outil CMake pour analyser ce projet."
QtWS25 Last Chance

"Le kit doit définir un outil CMake pour analyser ce projet."

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 3 Posters 274 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.
  • N Offline
    N Offline
    NoaJ
    wrote on 18 Nov 2024, 20:52 last edited by
    #1

    Hi, I'm very new to Qt creator and I'm trying to create a new projet using Cmake but it seems Qt doesn't detect that I've installed Cmake on my computer. I have a MacBook btw. This error message pops up every time i create a new project and i'm unable to execute the main function "Hello world". I've already tried deinstalling and reinstalling Qt. I think I'm supposed go into tools -> kits -> Cmake but this section doesn't even exist for me.Capture d’écran 2024-11-18 à 21.45.27.png
    I'm using Qt 6 and I've installed Cmake version 3.31.0.
    I'm sorry everything is in french :(
    Capture d’écran 2024-11-18 à 21.48.54.png

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 18 Nov 2024, 21:00 last edited by
      #2

      Hi and welcome to devnet,

      Which version of Qt Creator is that ?
      What about the cmake settings that are at the bottom of the Preferences dialog you are showing ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cristian-adam
        wrote on 18 Nov 2024, 21:36 last edited by
        #3

        Try Qt Creator 15.

        With Qt Creator 14 there is an issue with CMake when detecting the capabilities. Something goes wrong and Qt Creator thinks that the CMake tool is broken, and the kit needs to have a valid kit.

        You can manually register a CMake version, and then in the Kit point to the new registered CMake.

        1 Reply Last reply
        0
        • N Offline
          N Offline
          NoaJ
          wrote on 19 Nov 2024, 07:34 last edited by
          #4

          Thanks I didn't really understand what i was doing but somehow it works now and I can execute my projects :)

          1 Reply Last reply
          0
          • C Offline
            C Offline
            cristian-adam
            wrote on 19 Nov 2024, 07:44 last edited by
            #5

            Restarting Qt Creator could also help. Qt Creator 15 will work better in this regard.

            1 Reply Last reply
            0

            3/5

            18 Nov 2024, 21:36

            • Login

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