Details
-
Suggestion
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
Qt Creator 4.13.0
Description
I've installed Qt Creator 4.13 on macOS.
CMake 3.18.2 and Ninja 1.10.1 are provided by homebrew.
Qt Creator can detect cmake as being present in the "system" at /usr/local/bin/cmake, unfortunately when I try to build I get:
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
I fixed the problem by adding in the CMake Initial Parameters -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja.
I wish I didn't have to do this, and Qt Creator would do this for me:
- probe the system for Ninja, display it in the same way CMake is in settings
- pass -DCMAKE_MAKE_PROGRAM in CMake Initial Parameters
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-25243 Cannot use Qt Creator with CMake
- Closed
- relates to
-
QTCREATORBUG-25298 Qt Creator cannot build on Big Sur with CMake 3.19.4 and ccache
- Closed
-
QTCREATORBUG-22123 Provide options for the "system environment" used in Qt Creator
- Closed