From bec264c15fe07382009def3c4bbef3f3b689b6eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Mon, 14 Nov 2022 14:49:32 +0100 Subject: Examples: Use Qt6:: to qualify Qt CMake packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is what we promote also in the documentation. Change-Id: If91aebafe861b0c934acbb2c69afd182abc3345d Reviewed-by: Jörg Bornemann --- examples/widgets/widgets/scribble/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'examples/widgets/widgets/scribble/CMakeLists.txt') diff --git a/examples/widgets/widgets/scribble/CMakeLists.txt b/examples/widgets/widgets/scribble/CMakeLists.txt index 4efce5a0c1..3cf6bc9351 100644 --- a/examples/widgets/widgets/scribble/CMakeLists.txt +++ b/examples/widgets/widgets/scribble/CMakeLists.txt @@ -29,18 +29,18 @@ set_target_properties(scribble PROPERTIES ) target_link_libraries(scribble PUBLIC - Qt::Core - Qt::Gui - Qt::Widgets + Qt6::Core + Qt6::Gui + Qt6::Widgets ) -if (TARGET Qt::PrintSupport) - target_link_libraries(scribble PUBLIC Qt::PrintSupport) +if (TARGET Qt6::PrintSupport) + target_link_libraries(scribble PUBLIC Qt6::PrintSupport) endif() -if(TARGET Qt::PrintSupport) +if(TARGET Qt6::PrintSupport) target_link_libraries(scribble PUBLIC - Qt::PrintSupport + Qt6::PrintSupport ) endif() -- cgit v1.2.3