Dolphin, the GameCube and Wii emulator - Forums

Full Version: Universal Build Brew Files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey Dolphin team!

I've recently bought an M1 Pro Macbook, and I'm looking to build and add some functionality for emulated USB devices, but want to ensure my builds are working correctly on both the x86_64 and ARM versions. However, when running the python script for the universal build, I get errors when building the x86_64 version, I get this error:

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.

I also get this error when running cmake .. from the build folder, are there any parameters I need to specify in the command line to point to the right QT5 directory? As well as this, do I need to install the x86_64 versions of all of the dependencies to get it to work via the universal build?

Thanks in advance!