Skip to content

Commit

Permalink
Remove use of deprecated QtCore_VERSION_STRING for qt6 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 20, 2021
1 parent 912c0a8 commit 71a6eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -466,7 +466,7 @@ if(WITH_CORE)
set (QT_PLUGINS_DIR ${DEFAULT_QT_PLUGINS_DIR} CACHE STRING "Path to installation directory for Qt Plugins. Defaults to Qt native plugin directory")

if (WITH_QT6)
message(STATUS "Found Qt version: ${Qt6Core_VERSION_STRING}")
message(STATUS "Found Qt version: ${Qt6Core_VERSION}")
else()
message(STATUS "Found Qt version: ${Qt5Core_VERSION_STRING}")
endif()
Expand Down

0 comments on commit 71a6eb7

Please sign in to comment.