Does anyone know how to force the package installer/builder to use QT5 instead of QT6? I have all the QT5 dependencies installed, but the Build of subsurface 5.0.8-1 fails. A partial of the build log says,
[...]
-- Found Threads: TRUE
-- building with Qt 6.2.4
-- building without printing support
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Could NOT find Qt6WebKitWidgets (missing: Qt6WebKitWidgets_DIR)
CMake Error at CMakeLists.txt:321 (find_package):
Found package configuration file:
/usr/lib64/cmake/Qt6/Qt6Config.cmake
but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND. Reason given by package:
Failed to find Qt component "WebKitWidgets".
[...]
Things I have tried (grasping at straws a google search throws my way):
Putting -DQT_SELECT=qt5 in the build() function
Putting -DQT6=OFF in the build() function
Installing qt6-webengine
I'm at a loss. An earlier 5.0.x built/worked fine, but now have these issues with the update to 5.0.8. Thoughts anyone?