From d75dfb268bc6fda7d79c9500f86dff02c88c8121 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Fri, 15 Jan 2021 20:39:03 +0800 Subject: [PATCH] support QT6 --- QtCommon.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QtCommon.cmake b/QtCommon.cmake index 3bd187c..2aed459 100644 --- a/QtCommon.cmake +++ b/QtCommon.cmake @@ -76,8 +76,8 @@ init_os_bundle() init_qt() fix_win_compiler() -set(QT_MIN_VERSION "5.14.0") -find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Widgets) +set(QT_MIN_VERSION "6.0.0") +find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Widgets) set(CMAKE_INCLUDE_CURRENT_DIR ON) # Set additional project information