plasma-mobile: fix build failure
Rebuilt from scratch and got the following build failure: | -- Could NOT find Qt6WaylandScannerTools (missing: Qt6WaylandScannerTools_DIR) | CMake Warning at /home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/recipe-sysroot/usr/lib/cmake/Qt6/Qt6Config.cmake:191 (find_package): | Found package configuration file: | | /home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/recipe-sysroot/usr/lib/cmake/Qt6WaylandClient/Qt6WaylandClientConfig.cmake | | but it set Qt6WaylandClient_FOUND to FALSE so package "Qt6WaylandClient" is | considered to be NOT FOUND. Reason given by package: | | Qt6WaylandClient could not be found because dependency | Qt6WaylandScannerTools could not be found. | | Configuring with --debug-find-pkg=Qt6WaylandScannerTools might reveal | details why the package was not found. | | Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some | of the path variables that find_package uses to try and find the package. | | Call Stack (most recent call first): | CMakeLists.txt:51 (find_package) | | | CMake Error at CMakeLists.txt:51 (find_package): | Found package configuration file: | | /home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/recipe-sysroot/usr/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 "WaylandClient". | | Expected Config file at | "/home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/recipe-sysroot/usr/lib/cmake/Qt6WaylandClient/Qt6WaylandClientConfig.cmake" | exists Adding qtwayland and qtwayland-native as build dependencies fixes the issue. Signed-off-by: Marc Ferland <marc.ferland@gmail.com>
This commit is contained in:
@@ -31,6 +31,8 @@ DEPENDS += " \
|
||||
networkmanager-qt \
|
||||
plasma-workspace \
|
||||
qcoro \
|
||||
qtwayland \
|
||||
qtwayland-native \
|
||||
"
|
||||
|
||||
inherit cmake_plasma
|
||||
|
||||
Reference in New Issue
Block a user