"Le kit doit définir un outil CMake pour analyser ce projet."
-
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.
I'm using Qt 6 and I've installed Cmake version 3.31.0.
I'm sorry everything is in french :(
-
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 ? -
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.
-
Restarting Qt Creator could also help. Qt Creator 15 will work better in this regard.