Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.5.5
Description
run cmake for minimal-cpp will get the below error.
seems related to https://bugreports.qt.io/browse/QTBUG-97615
Running /home/qt/Qt/Tools/CMake/bin/cmake -S /home/qt/Qt/Examples/Qt-6.5.5/wayland/minimal-cpp -B /home/qt/Qt/Examples/Qt-6.5.5/wayland/build-minimal-cpp-Desktop_Qt_6_5_5_GCC_64bit-Debug in /home/qt/Qt/Examples/Qt-6.5.5/wayland/build-minimal-cpp-Desktop_Qt_6_5_5_GCC_64bit-Debug. -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Could NOT find Wayland_Client (missing: Wayland_Client_LIBRARY Wayland_Client_INCLUDE_DIR) (found version "") -- Could NOT find Wayland_Server (missing: Wayland_Server_LIBRARY Wayland_Server_INCLUDE_DIR) (found version "") -- Could NOT find Wayland_Cursor (missing: Wayland_Cursor_LIBRARY Wayland_Cursor_INCLUDE_DIR) (found version "") -- Could NOT find Wayland_Egl (missing: Wayland_Egl_LIBRARY Wayland_Egl_INCLUDE_DIR Wayland_Client_FOUND) (found version "") -- Could NOT find Wayland (missing: Wayland_LIBRARIES) (Required is at least version "1.15") CMake Warning at /home/qt/Qt/6.5.5/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:165 (find_package): Found package configuration file: /home/qt/Qt/6.5.5/gcc_64/lib/cmake/Qt6WaylandCompositor/Qt6WaylandCompositorConfig.cmake but it set Qt6WaylandCompositor_FOUND to FALSE so package "Qt6WaylandCompositor" is considered to be NOT FOUND. Reason given by package: Qt6WaylandCompositor could not be found because dependency Wayland could not be found. Configuring with --debug-find-pkg=Wayland might reveal details why the package was not found. find_package search path values and other context for the last package that was not found: CMAKE_MODULE_PATH: /home/qt/Qt/6.5.5/gcc_64/lib/cmake/Qt6;/home/qt/Qt/6.5.5/gcc_64/lib/cmake/Qt6/3rdparty/extra-cmake-modules/find-modules;/home/qt/Qt/6.5.5/gcc_64/lib/cmake/Qt6/3rdparty/kwin CMAKE_PREFIX_PATH: /home/qt/Qt/6.5.5/gcc_64 $ENV{CMAKE_PREFIX_PATH}: CMAKE_FIND_ROOT_PATH: _qt_additional_packages_prefix_paths: _qt_additional_host_packages_prefix_paths: _qt_cmake_dir: /home/qt/Qt/6.5.5/gcc_64/lib/cmake QT_HOST_PATH: Qt6HostInfo_DIR: Qt6_DIR: /home/qt/Qt/6.5.5/gcc_64/lib/cmake/Qt6 CMAKE_TOOLCHAIN_FILE: CMAKE_FIND_ROOT_PATH_MODE_PACKAGE: CMAKE_SYSROOT: $ENV{PATH}: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/qt/Qt/Tools/Ninja Call Stack (most recent call first): CMakeLists.txt:15 (find_package) CMake Error at CMakeLists.txt:15 (find_package): Found package configuration file: /home/qt/Qt/6.5.5/gcc_64/lib/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 required Qt component "WaylandCompositor". Expected Config file at "/home/qt/Qt/6.5.5/gcc_64/lib/cmake/Qt6WaylandCompositor/Qt6WaylandCompositorConfig.cmake" exists Configuring with --debug-find-pkg=Qt6WaylandCompositor might reveal details why the package was not found. find_package search path values and other context for the last package that was not found: CMAKE_MODULE_PATH: /home/qt/Qt/6.5.5/gcc_64/lib/cmake/Qt6;/home/qt/Qt/6.5.5/gcc_64/lib/cmake/Qt6/3rdparty/extra-cmake-modules/find-modules;/home/qt/Qt/6.5.5/gcc_64/lib/cmake/Qt6/3rdparty/kwin CMAKE_PREFIX_PATH: /home/qt/Qt/6.5.5/gcc_64 $ENV{CMAKE_PREFIX_PATH}: CMAKE_FIND_ROOT_PATH: _qt_additional_packages_prefix_paths: _qt_additional_host_packages_prefix_paths: _qt_cmake_dir: /home/qt/Qt/6.5.5/gcc_64/lib/cmake QT_HOST_PATH: Qt6HostInfo_DIR: Qt6_DIR: /home/qt/Qt/6.5.5/gcc_64/lib/cmake/Qt6 CMAKE_TOOLCHAIN_FILE: CMAKE_FIND_ROOT_PATH_MODE_PACKAGE: CMAKE_SYSROOT: $ENV{PATH}: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/qt/Qt/Tools/Ninja