Skip to content

Commit 664efe9

Browse files
committedJan 6, 2015
Print version when building with Qt5
1 parent 1a46c40 commit 664efe9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ IF (ENABLE_QT5)
242242
SET(QT5_BUILD TRUE)
243243

244244
INCLUDE("cmake/modules/ECMQt4To5Porting.cmake")
245+
246+
MESSAGE(STATUS "Found Qt version: ${Qt5Core_VERSION_STRING}")
245247
ELSE()
246248
FIND_PACKAGE(Qt4 ${QT_MIN_VERSION} REQUIRED)
247249
SET(QT_USE_QTXML 1)
@@ -258,9 +260,9 @@ ELSE()
258260
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))
259261

260262
INCLUDE( ${QT_USE_FILE} )
261-
ENDIF()
262263

263-
MESSAGE(STATUS "Found Qt version: ${QTVERSION}")
264+
MESSAGE(STATUS "Found Qt version: ${QTVERSION}")
265+
ENDIF()
264266

265267
IF (WITH_QTMOBILITY)
266268
FIND_PACKAGE(QtMobility 1.1.0)

0 commit comments

Comments
 (0)
Please sign in to comment.