From 140e5a951d4a934de6bfb3913a5bc7650f9473ca Mon Sep 17 00:00:00 2001 From: firewave Date: Tue, 21 May 2024 12:29:04 +0200 Subject: [PATCH] print more Qt infos in CMake --- CMakeLists.txt | 2 +- cmake/printInfo.cmake | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 064998ddd7ba..03b2195067ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,10 +20,10 @@ include(cmake/findDependencies.cmake) include(cmake/compileroptions.cmake) include(cmake/compilerDefinitions.cmake) include(cmake/buildFiles.cmake) -include(cmake/printInfo.cmake) if(BUILD_GUI) include(cmake/qtCompat.cmake) endif() +include(cmake/printInfo.cmake) file(GLOB addons "addons/*.py") diff --git a/cmake/printInfo.cmake b/cmake/printInfo.cmake index b3154899cc5b..adf63d1ce0af 100644 --- a/cmake/printInfo.cmake +++ b/cmake/printInfo.cmake @@ -64,6 +64,13 @@ if(BUILD_GUI) message(STATUS "WITH_QCHART = ${WITH_QCHART}") message(STATUS "USE_QT6 = ${USE_QT6}") message(STATUS "QT_VERSION = ${QT_VERSION}") + if(USE_QT6) + message(STATUS "Qt6Core_LIBRARIES = ${Qt6Core_LIBRARIES}") + message(STATUS "Qt6Core_INCLUDE_DIRS = ${Qt6Core_INCLUDE_DIRS}") + else() + message(STATUS "Qt5Core_LIBRARIES = ${Qt5Core_LIBRARIES}") + message(STATUS "Qt5Core_INCLUDE_DIRS = ${Qt5Core_INCLUDE_DIRS}") + endif() endif() message(STATUS) message(STATUS "HAVE_RULES = ${HAVE_RULES}")