CMake Tool is unconfigured. CMake generator will be ignored.
-
I installed Qt 6.6.3 because release Qt 6.7.0 require both NDKs for Android:
NDK 25.1.8937393 - 1.36 GB NDK 26.1.10909125 - 1.95 GB
But Qt 6.6.3 requires only the first one (Qt 6.7.0 beta)
But I have this warning:
CMake Tool is unconfigured. CMake generator will be ignored.
CMake is in the Path:
It was installed:
CMake was detected:
How to solve it?
-
Can you run
C:\Qt\Tools\CMake_64\bin\cmake.exe --version
?Try to register a manual CMake tool and set that as default.
-
C:\Qt\Tools\CMake_64\bin\cmake.exe --version
cmake version 3.27.7 CMake suite maintained and supported by Kitware (kitware.com/cmake).@cristian-adam said in CMake Tool is unconfigured. CMake generator will be ignored.:
Try to register a manual CMake tool and set that as default.
I restarted Qt Creator. It works! Thank you very much!
-
-
This really should be in the documentation.
-
This relates to https://forum.qt.io/topic/157668/qt-creator-can-not-parse-cmake-version-after-update-from-qt-6-5-3-to-qt-6-7-2
I would like to know what's going on. If you stumble upon this, please do look at the
debuggers.xml
and paste here the content. -
I had the same problem on my mac
-
@Jack-Longbow I solved the problem by deleting Python but it will be added after the Qt Creator restart. I delete it every time when I start Qt Creator 13.0.0:
I've tested it a lot of time. For example, I run Qt Creator, open some CMake project. I don't see the
main.cpp
file:I see a problem in the Issue window:
I see the problem:
I delete Python:
And I restart Qt Creator. It works:
-
I see this problem every time when I start Qt Creator 15.0.0 on Windows for Non-Qt projects in plain C++. And every time I should make the same steps:
- Delete the autodetected Python 3.12 from the settings like in the message above
- Close Qt Creator
- Delete
CMakeLists.txt.user
and thebuild
folder - Start Qt Creator
- Open the C++ project again
-
-
I haven't seen this in practice. Please do open a bug report at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512
I do have Python on my Windows machine, it's autodetected, but makes no issues:
$ where python C:\Users\Cristian Adam\AppData\Local\Programs\Python\Python312-arm64\python.exe C:\Users\Cristian Adam\AppData\Local\Microsoft\WindowsApps\python.exe
If you don't need Python, you could disable the Python plugin. You could have a Qt Creator shortcut that does the equivalent of:
$ qtcreator -noload Python