Skip to content
Browse files
Remove use of deprecated QtCore_VERSION_STRING for qt6 builds
  • Loading branch information
nyalldawson committed Jul 20, 2021
1 parent 912c0a8 commit 71a6eb727b0c71bc3870316bb7fe31a208ea4f1b
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
@@ -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}")
message(STATUS "Found Qt version: ${Qt5Core_VERSION_STRING}")

0 comments on commit 71a6eb7

Please sign in to comment.