Emulator Issues #13294
openDolphin wont compile on Kubuntu 23.04
0%
Description
What's the problem? Describe what went wrong.
Dolphin wont compile on my Kubuntu 23.04 machine. The compile error I get is :
[100%] Linking CXX executable ../../../Binaries/dolphin-emu
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.4.2: undefined reference to `qRegisterNormalizedMetaType_QDBusArgument(QByteArray const&)@Qt_6'
collect2: error: ld returned 1 exit status
make[2]: *** [Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/build.make:3100: Binaries/dolphin-emu] Error 1
make[1]: *** [CMakeFiles/Makefile2:2024: Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
I have attached my build.make, Makefile2 and Makefile files for reference.
What steps will reproduce the problem?
Follow the global build instructions from here after cloning repository and installing the listed dependencies. https://github.com/dolphin-emu/dolphin/wiki/Building-for-Linux
What are your PC specifications? (CPU, GPU, Operating System, more)
Intel Core i9 11900k
16GB RAM
AMD RX 6800
Kubuntu 23.04
oibaf ppa
Files
Updated by Luciosau92 5 months ago
I was able to fix this issue. KDE Plasma depends on QT5 currently and cmake was trying to use QT5 even though QT6 was installed. I installed QT6.5.1 from the QT website and added 2 environment variables to my bashrc file.
- export LD_LIBRARY_PATH=/home/username/Qt/6.5.1/gcc_64/lib/
- export PATH=/home/username/Qt/6.5.1/gcc_64/lib/cmake:$PATH
With these variables pointing to my custom QT6 install I was able to successfully compile, install and run dolphin.