Rosalie241 / RMG

Rosalie's Mupen GUI
GNU General Public License v3.0
637 stars 52 forks source link

Building error: Qt6 #102

Closed Youras closed 1 year ago

Youras commented 1 year ago

After following the instructions on the readme to install I get the following error:

CMake Error at Source/RMG/CMakeLists.txt:8 (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" 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.

I am not a software developer, how can this be solved?

Youras commented 1 year ago

Okay I solved it by first adding the qt6 dependent repositories with

sudo add-apt-repository ppa:okirby/qt6-backports
sudo apt update

And then installing the packages mentioned in the readme