Skip to content

Commit 4ed122c

Browse files
committed
Upgrade to Qt6
1 parent e77c3cd commit 4ed122c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FIND_PACKAGE(fmt REQUIRED)
1818
FIND_PACKAGE(spdlog REQUIRED)
1919
FIND_PACKAGE(OpenMP)
2020
FIND_PACKAGE(GTest)
21-
FIND_PACKAGE(Qt5 COMPONENTS Widgets LinguistTools)
21+
FIND_PACKAGE(Qt6 COMPONENTS Widgets LinguistTools)
2222
FIND_PACKAGE(Git)
2323

2424
IF (Git_FOUND)

Diff for: src/graphical/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
22

3-
IF(Qt5_FOUND)
3+
IF(Qt6_FOUND)
44
SET(CMAKE_AUTOUIC ON)
55
SET(CMAKE_AUTOMOC ON)
66
SET(CMAKE_AUTORCC ON)
@@ -33,7 +33,7 @@ IF(Qt5_FOUND)
3333

3434
TARGET_LINK_LIBRARIES(mcmap-gui
3535
PRIVATE
36-
Qt5::Widgets
36+
Qt6::Widgets
3737
ZLIB::ZLIB
3838
PNG::PNG
3939
fmt::fmt-header-only

0 commit comments

Comments
 (0)