Hey! I'm trying to build Dolphin for MacOS 10.x.x, 11.x.x and 12.x.x
However, I keep getting this error:
This also happens when trying to build on my M1 Mac itself except on my Mac, I get this error:
Could somebody help?
Workflow File
However, I keep getting this error:
Code:
CMake Error at Source/Core/DolphinQt/CMakeLists.txt:9 (find_package):
By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5" (requested
version 5.9) with any of the following names:
Qt5Config.cmake
qt5-config.cmake
Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/Users/runner/work/dolphin/dolphin/build/x86_64/CMakeFiles/CMakeOutput.log".
See also "/Users/runner/work/dolphin/dolphin/build/x86_64/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
Building config:
{
File "/Users/runner/work/dolphin/dolphin/build/../BuildMacOSUniversalBinary.py", line 367, in <module>
"build_target": "ALL_BUILD",
"generator": "Unix Makefiles",
"build_type": "Release",
"dst_app": "universal/",
"entitlements": "../Source/Core/DolphinQt/DolphinEmu.entitlements",
"run_unit_tests": false,
"codesign_identity": "-",
"x86_64_cmake_prefix": "/usr/local",
"x86_64_qt5_path": "/usr/local/opt/qt5",
"x86_64_mac_os_deployment_target": "10.13.0",
"arm64_cmake_prefix": "/opt/homebrew",
"arm64_qt5_path": "/opt/homebrew/opt/qt5",
"arm64_mac_os_deployment_target": "11.0.0"
}
build(conf)
File "/Users/runner/work/dolphin/dolphin/build/../BuildMacOSUniversalBinary.py", line 276, in build
subprocess.check_call([
File "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '../../', '-G', 'Unix Makefiles', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_CXX_FLAGS="-DMACOS_UNIVERSAL_BUILD=1"', '-DCMAKE_C_FLAGS="-DMACOS_UNIVERSAL_BUILD=1"', '-DCMAKE_SYSTEM_NAME=Darwin', '-DCMAKE_PREFIX_PATH=/usr/local', '-DCMAKE_SYSTEM_PROCESSOR=x86_64', '-DCMAKE_IGNORE_PATH=/opt/homebrew', '-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13.0', '-DMACOS_CODE_SIGNING_IDENTITY=-', '-DMACOS_CODE_SIGNING_IDENTITY_UPDATER=-', '-DMACOS_CODE_SIGNING="ON"']' returned non-zero exit status 1.
Error: Process completed with exit code 1.
This also happens when trying to build on my M1 Mac itself except on my Mac, I get this error:
Code:
CMake Error at Source/Core/DolphinQt/CMakeLists.txt:519 (get_target_property):
get_target_property() called with non-existent target
"Qt5::QCocoaIntegrationPlugin".
CMake Error at Source/Core/DolphinQt/CMakeLists.txt:523 (get_target_property):
get_target_property() called with non-existent target
"Qt5::QMacStylePlugin".
Could somebody help?
Workflow File