Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 7.0.1
-
MacOS Monterey 12.3.1
XCode 13.3.1
-
-
65e043961e (qt-creator/qt-creator/master) 65e043961e (qt-creator/tqtc-qt-creator/8.0)
Description
Qt Creator on MacOS is not able to compile a CMake project linking to an external project.
CMake configuration succeeds, but then at compile time there are errors saying "Cmake was unable to find ..."
You can try the annexed project helloWorld.zip. If I compile it in Qt Creator under Ubuntu it works fine.
The only way to compile on Mac is via Terminal using the following commands:
mkdir build_helloworld && cd build_helloworld cmake .. -DCMAKE_PREFIX_PATH=<path to Qt> cmake --build .
Attachments
Issue Links
- relates to
-
QTCREATORBUG-25243 Cannot use Qt Creator with CMake
- Closed
-
QTCREATORBUG-26289 [Reg 4.15->5.0] CMake was unable to find a build program corresponding to Ninja
- Closed
-
QTCREATORBUG-16339 Option needed for path to Ninja binary
- Open
-
QTBUG-104013 Android multi-abi builds don't work under MacOS and Windows
- Closed