-
Notifications
You must be signed in to change notification settings - Fork 154
Description
Describe the bug
The build of the hiro component fails when attempting to use the Qt5 backend instead of GTK3.
To Reproduce
- Attempt to build ares (the hiro component, in particular) using '-DUSE_QT5'.
- The build of hiro fails with:
CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5Xcb" with any
of the following names:
Qt5XcbConfig.cmake
qt5xcb-config.cmake
Add the installation prefix of "Qt5Xcb" to CMAKE_PREFIX_PATH or set
"Qt5Xcb_DIR" to a directory containing one of the above files. If "Qt5Xcb"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
hiro/cmake/os-linux.cmake:16 (find_package)
hiro/CMakeLists.txt:13 (include)
Expected behavior
The hiro component should build with either GTK3 or Qt5.
Additional context
I am working on a CMake-based ebuild for Gentoo Linux. I haven't come across any fatal build errors when using the GTK3 backend. When using the Qt5 backend, I hit the error mentioned above. Searching through package-provided files, I don't see either of the ones mentioned above. The closest that I have found is:
/usr/lib64/cmake/Qt5XcbQpa/Qt5XcbQpaConfig.cmake
which is provided by the Gentoo packages dev-qt/qtgui:
https://packages.gentoo.org/packages/dev-qt/qtgui
Having looked through the other packages, I don't see either of those .cmake files available.