Dolphin, the GameCube and Wii emulator - Forums

Full Version: Beta installation fails as Qt5 incompatibility
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I already resolved some errors, but I'm still getting this output in the "cmake .." step in this tutorial: https://wiki.dolphin-emu.org/index.php?title=Building_Dolphin_on_Linux

Code:
-- Detected architecture: x86_64
-- X11 support enabled
-- Xrandr found
--  Found avcodec: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavcodec.so
--  Found avformat: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavformat.so
--  Found avutil: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavutil.so
--  Found swresample: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libswresample.so
--  Found swscale: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libswscale.so
-- libav/ffmpeg found, enabling AVI frame dumps
-- libevdev/libudev found, enabling evdev controller backend
-- Using named pipes as controller inputs
-- Watching game memory for changes
-- Enabling analytics collection (subject to end-user opt-in)
-- Using static enet from Externals
-- Using static xxhash from Externals
-- Using shared zlib
-- Using static lzo from Externals
-- Using shared libpng
-- Using shared LibUSB
-- Found SFML 2.4 in /usr/include
-- Using shared SFML
-- Using shared miniupnpc
-- Could NOT find MBEDTLS (missing:  MBEDTLS_VERSION_OK)
-- Using static mbed TLS from Externals
-- Using shared libcurl
-- Using static DiscordRPC from Externals
-- libsystemd found, enabling traversal server watchdog support
-- Using static gtest from Externals
-- Could NOT find OpenSLES (missing:  OPENSLES_LIBRARY OPENSLES_INCLUDE_DIR)
-- ALSA found, enabling ALSA sound backend
-- PulseAudio found, enabling PulseAudio sound backend
-- BlueZ found, enabling bluetooth support
CMake Error at Source/Core/DolphinQt/CMakeLists.txt:1 (find_package):
 Could not find a configuration file for package "Qt5" that is compatible
 with requested version "5.9".

 The following configuration files were considered but not accepted:

   /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.7.1



-- Configuring incomplete, errors occurred!
See also "/home/fabian/dolphin_beta/dolphin-emu/Build/CMakeFiles/CMakeOutput.log".
See also "/home/fabian/dolphin_beta/dolphin-emu/Build/CMakeFiles/CMakeError.log".

The output of
Code:
apt-file search Qt5Config.cmake
is:
Code:
libaccounts-qt5-dev: /usr/lib/x86_64-linux-gnu/cmake/AccountsQt5/AccountsQt5Config.cmake
libphonon4qt5-dev: /usr/lib/x86_64-linux-gnu/cmake/phonon4qt5/Phonon4Qt5Config.cmake
libsignon-qt5-dev: /usr/lib/x86_64-linux-gnu/cmake/SignOnQt5/SignOnQt5Config.cmake
libtelepathy-qt5-dev: /usr/lib/x86_64-linux-gnu/cmake/TelepathyQt5/TelepathyQt5Config.cmake
qtbase5-dev: /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake

To be safe I installed all five of these packages, but the output is still the same.

CMakeOutput.log and CMakeError.log are attached.

What do I have to install to get a working Dolphin installation (and why doesn't the install script do that automatically)?
Your distro's Qt5 install is too old. You have 5.7, you need to install 5.9

The install script won't install packages for you. Just compile Dolphin.
(07-26-2018, 01:53 AM)Helios Wrote: [ -> ]Your distro's Qt5 install is too old. You have 5.7, you need to install 5.9

The install script won't install packages for you. Just compile Dolphin.
I installed 5.10 of Qt5-default from here now, but the output is still the same. Do I have to update something else?
Those aren't the development packages you'll need. You need at least qtbase5-dev and qtbase5-private-dev.
(07-28-2018, 08:18 AM)spycrab Wrote: [ -> ]Those aren't the development packages you'll need. You need at least qtbase5-dev and qtbase5-private-dev.

I have now installed qtbase5-private-dev, libreadline-dev and some optional dependencies. The rest was already installed, except for libpolarssl-dev, which is not found in my package manager and which I also can't download online because of error messages: https://packages.debian.org/sid/arm64/libpolarssl-dev/download <-all four sources give errors
The wiki says "if not found will be built statically", which sounds to me like it should still work, but with some downsides maybe? But it doesn't, it fails. "mbedtls", which seems to be the alternative, is also not found in my package manager ("libmbdetls-dev" is installed) and when I try to download it, I get folders of which I have no idea how to install the program from them.

So what do I do now?
I just read this https://dolphin-emu.org/blog/2018/07/06/dolphin-progress-report-june-2018/
and apparently there were a lot of changes with this "Qt" (whatever it is) recently. Maybe that could cause my problems?
No.

Your dev headers are installed incorrectly or you're missing some.
(07-29-2018, 02:57 AM)Helios Wrote: [ -> ]No.

Your dev headers are installed incorrectly or you're missing some.

How do I check that?
(08-11-2018, 10:29 AM)Fabian Wrote: [ -> ]What does that mean for me?

It means nothing at all. All the posts by that user are essentially nonsense.
(08-11-2018, 05:58 PM)JosJuice Wrote: [ -> ]It means nothing at all. All the posts by that user are essentially nonsense.

Ok, then back to my original question: How do I check which "dev headers" I need?
Pages: 1 2