From f59d90f89f14a29029d21b96235acbf0a8eb6417 Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Mon, 27 Oct 2025 08:21:19 +0000 Subject: [PATCH] sync: from linuxdeepin/qt5integration Synchronize source files from linuxdeepin/qt5integration. Source-pull-request: https://github.com/linuxdeepin/qt5integration/pull/287 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c5312a..7c2b696 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ option(ENABLE_COV "Enable code coverage" OFF) if(PROJECT_VERSION_MAJOR EQUAL 6) set(VERSION_SUFFIX 6) find_package(QT NAMES Qt6 REQUIRED COMPONENTS Core) - if(Qt6_VERSION VERSION_GREATER_EQUAL 6.10) + if(QT_VERSION VERSION_GREATER_EQUAL 6.10) find_package(Qt6 COMPONENTS CorePrivate GuiPrivate WidgetsPrivate REQUIRED) endif() else()