Skip to content
Permalink
Browse files

Print version when building with Qt5

  • Loading branch information
m-kuhn committed Jan 6, 2015
1 parent 1a46c40 commit 664efe9d5bb7fda5269672cac9b7b8022b1a59c2
Showing with 4 additions and 2 deletions.
  1. +4 −2 CMakeLists.txt
@@ -242,6 +242,8 @@ IF (ENABLE_QT5)
SET(QT5_BUILD TRUE)

INCLUDE("cmake/modules/ECMQt4To5Porting.cmake")

MESSAGE(STATUS "Found Qt version: ${Qt5Core_VERSION_STRING}")
ELSE()
FIND_PACKAGE(Qt4 ${QT_MIN_VERSION} REQUIRED)
SET(QT_USE_QTXML 1)
@@ -258,9 +260,9 @@ ELSE()
ENDIF (NOT QT_QTXML_FOUND OR NOT QT_QTNETWORK_FOUND OR NOT QT_QTSVG_FOUND OR NOT QT_QTSQL_FOUND OR NOT QT_QTWEBKIT_FOUND OR (WITH_CUSTOM_WIDGETS AND NOT QT_QTDESIGNER_FOUND))

INCLUDE( ${QT_USE_FILE} )
ENDIF()

MESSAGE(STATUS "Found Qt version: ${QTVERSION}")
MESSAGE(STATUS "Found Qt version: ${QTVERSION}")
ENDIF()

IF (WITH_QTMOBILITY)
FIND_PACKAGE(QtMobility 1.1.0)

0 comments on commit 664efe9

Please sign in to comment.
You can’t perform that action at this time.