Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.13.0 Beta3
-
Arch Linux x86_64, Qt 5.13.0beta3 from Arch Linux's [kde-unstable] repository.
-
-
f4636b934f90b2a07b09f1925a86440cf1944d08 (qt/qtwayland/5.13)
Description
In Qt 5.13 I can't use CMake to build projects using Qt5WaylandClient. For example, the example project in qtwayland fails to configure. Here are steps to reproduce:
git clone -b 5.13 https://github.com/qt/qtwayland
cd qtwayland/tests/auto/cmake/test_waylandclient
cmake .
Results in the following error:
CMake Error at /usr/lib64/cmake/Qt5WaylandClient/Qt5WaylandClientConfig.cmake:106 (find_package): Could not find a package configuration file provided by "Qt5LinuxAccessibilitySupport" (requested version 5.13.0) with any of the following names: Qt5LinuxAccessibilitySupportConfig.cmake qt5linuxaccessibilitysupport-config.cmake Add the installation prefix of "Qt5LinuxAccessibilitySupport" to CMAKE_PREFIX_PATH or set "Qt5LinuxAccessibilitySupport_DIR" to a directory containing one of the above files. If "Qt5LinuxAccessibilitySupport" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:6 (find_package)
Looks like the cause is that linuxaccessibility is an internal module [1], and CMake files are not generated for internal modules [2].
[1] https://github.com/qt/qtbase/blob/v5.13.0-beta3/src/platformsupport/linuxaccessibility/linuxaccessibility.pro#L5
[2] https://github.com/qt/qtbase/blob/v5.13.0-beta3/mkspecs/features/qt_module.prf#L115