support QT6

This commit is contained in:
hyzboy 2021-01-15 20:39:03 +08:00
parent e15c5ce039
commit d75dfb268b

View File

@ -76,8 +76,8 @@ init_os_bundle()
init_qt() init_qt()
fix_win_compiler() fix_win_compiler()
set(QT_MIN_VERSION "5.14.0") set(QT_MIN_VERSION "6.0.0")
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Widgets) find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Widgets)
set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Set additional project information # Set additional project information