From 769bef69c8583ff7cd44411da5da1012e2b61b87 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Thu, 10 Sep 2020 18:47:27 +0200 Subject: [PATCH] CMake: Record QtWaylandScannerTools as a tools package dependency The change uses new API introduced in qtbase, to register QtWaylandScannerTools as a tools package dependency, ensuring that the proper host prefix manipulation is done to find the host package. This fixes the QEMU CI standalone test building by using the host qtwaylandscanner. Task-number: QTBUG-83968 Change-Id: I67facb32e1a1e33197090fde324755c0fc880684 Reviewed-by: Qt CI Bot Reviewed-by: Lars Knoll Reviewed-by: Cristian Adam --- src/plugins/platforms/wayland/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/wayland/CMakeLists.txt b/src/plugins/platforms/wayland/CMakeLists.txt index 01957eacd7f..62bc7e09e9f 100644 --- a/src/plugins/platforms/wayland/CMakeLists.txt +++ b/src/plugins/platforms/wayland/CMakeLists.txt @@ -126,5 +126,5 @@ qt_extend_target(WaylandClient CONDITION QT_FEATURE_draganddrop ) # special case begin -qt_record_extra_qt_package_dependency(WaylandClient WaylandScannerTools "") +qt_record_extra_qt_main_tools_package_dependency(WaylandClient WaylandScannerTools "${PROJECT_VERSION}") # special case end