Skip to content

Commit bd32ec2

Browse files
rjanvierdgirardeau
authored andcommitted
Port to Qt 6
1 parent eb779a3 commit bd32ec2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ endif()
218218

219219
# QT (optional)
220220
if ( CCCORELIB_USE_QT_CONCURRENT )
221-
find_package( Qt5
221+
find_package( Qt6
222222
COMPONENTS
223223
Concurrent
224224
REQUIRED
@@ -232,7 +232,7 @@ if ( CCCORELIB_USE_QT_CONCURRENT )
232232

233233
target_link_libraries( CCCoreLib
234234
PUBLIC
235-
Qt5::Concurrent
235+
Qt6::Concurrent
236236
)
237237

238238
target_compile_definitions( CCCoreLib

cmake/CCCoreLibConfig.cmake.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ if( @CCCORELIB_USE_TBB@ )
1919
endif()
2020
if( @CCCORELIB_USE_QT_CONCURRENT@ )
2121
if( ${CMAKE_VERSION} VERSION_LESS "3.10.0" )
22-
find_package( Qt5 COMPONENTS Concurrent )
22+
find_package( Qt6 COMPONENTS Concurrent )
2323
else()
24-
find_dependency( Qt5 COMPONENTS Concurrent )
24+
find_dependency( Qt6 COMPONENTS Concurrent )
2525
endif()
2626
endif()
2727

0 commit comments

Comments
 (0)