Skip to content

Commit 71a6eb7

Browse files
committedJul 20, 2021
Remove use of deprecated QtCore_VERSION_STRING for qt6 builds
1 parent 912c0a8 commit 71a6eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ if(WITH_CORE)
466466
set (QT_PLUGINS_DIR ${DEFAULT_QT_PLUGINS_DIR} CACHE STRING "Path to installation directory for Qt Plugins. Defaults to Qt native plugin directory")
467467

468468
if (WITH_QT6)
469-
message(STATUS "Found Qt version: ${Qt6Core_VERSION_STRING}")
469+
message(STATUS "Found Qt version: ${Qt6Core_VERSION}")
470470
else()
471471
message(STATUS "Found Qt version: ${Qt5Core_VERSION_STRING}")
472472
endif()

0 commit comments

Comments
 (0)
Please sign in to comment.