Qt 6.5 for MacOS. Creating XCode.project for MacOS. How?
Moved
Solved
Qt Creator and other tools
-
Hello all!
Is there any way to create XCode.project from Qt Creator for MacOS? For now there are nothing about XCode.project like for iOS or there are something missing by me? For me Desktop isn't primary platform.Hi,
Do you mean doing something like
cmake -G Xcode path/to/source
? -
@SGaist yes, but directly from Qt Creator without any additional settings or config change. Besides all of it, this command directly not working, CMake don't see QT without Qt Creators settings:
$ cmake -G Xcode . -- The CXX compiler identification is AppleClang 14.0.0.14000029 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:7 (find_package): By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt6", but CMake did not find one. Could not find a package configuration file provided by "Qt6" (requested version 6.5) with any of the following names: Qt6Config.cmake qt6-config.cmake Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR" to a directory containing one of the above files. If "Qt6" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred!
-
-
-
C Christian Ehrlicher moved this topic from General and Desktop on