issue: dw@bogon qt-creator-4.14-build % cmake -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_BUILD_TYPE=Release -G Ninja "-DCMAKE_PREFIX_PATH=../qt5-5.15-macOS-release/qtbase/" -DPYTHON_EXECUTABLE=/opt/homebrew/bin/python3 ../qt-creator -- Could NOT find Clang (missing: Clang_DIR) CMake Error at cmake/QtCreatorAPI.cmake:352 (get_property): get_property could not find TARGET Designer. Perhaps it has not yet been created. Call Stack (most recent call first): src/plugins/mesonprojectmanager/CMakeLists.txt:1 (add_qtc_plugin)
CMake Error at cmake/QtCreatorAPI.cmake:352 (get_property): get_property could not find TARGET Designer. Perhaps it has not yet been created. Call Stack (most recent call first): src/plugins/qmakeprojectmanager/CMakeLists.txt:1 (add_qtc_plugin)
CMake Error at cmake/QtCreatorAPI.cmake:352 (get_property): get_property could not find TARGET Designer. Perhaps it has not yet been created. Call Stack (most recent call first): src/plugins/cmakeprojectmanager/CMakeLists.txt:1 (add_qtc_plugin)
CMake Warning at src/tools/CMakeLists.txt:4 (message): Could not find Clang installation - disabling clangbackend.
-- Could NOT find elfutils (missing: ELFUTILS_INCLUDE_DIR ELFUTILS_LIB_dw ELFUTILS_LIB_elf) -- PerfParser is disabled. Set ELFUTILS_INSTALL_DIR to enable it. CMake Warning at cmake/QtCreatorTranslations.cmake:100 (message): No Qt translation tools found, skipping translation targets. Add find_package(Qt5 COMPONENTS LinguistTools) to CMake to enable. Call Stack (most recent call first): share/qtcreator/translations/CMakeLists.txt:47 (add_translation_targets)
-- The following packages have been found:
- Qt5Concurrent
- Qt5Gui
- Qt5Network
- Qt5PrintSupport
- Qt5Qml
my development env: I install xcode 13.4.1 from app store. before compile qt creator from source. and I have finished compiled qt5.15 source with Xcode's built-in compiler(that is clang below)
dw@bogon qt-creator-4.14-build % clang -v Apple clang version 13.1.6 (clang-1316.0.21.2.5) Target: arm64-apple-darwin21.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
compile reference:https://github.com/bobwolff68/fritzing-app/wiki/Building-Qt-5.15-for-Mac-M1#how-to-build-qt-creator-for-macos-arm64-a-guide
dw@bogon qt-creator-4.14-build % xcode-select -p /Applications/Xcode.app/Contents/Developer