From aae40ef2a3fecd9debce847e7e050e61dc9fe4ba Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 22 Aug 2006 10:09:19 +0000 Subject: help debugging build failures svn path=/trunk/KDE/kdelibs/; revision=575854 --- modules/FindQt4.cmake | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/FindQt4.cmake b/modules/FindQt4.cmake index d8a553dc..e9174f0a 100644 --- a/modules/FindQt4.cmake +++ b/modules/FindQt4.cmake @@ -986,6 +986,21 @@ IF (QT4_QMAKE_FOUND) SET( QT4_FOUND "NO") SET(QT_QMAKE_EXECUTABLE "${QT_QMAKE_EXECUTABLE}-NOTFOUND" CACHE FILEPATH "Invalid qmake found" FORCE) IF( Qt4_FIND_REQUIRED) + IF ( NOT QT_LIBRARY_DIR ) + MESSAGE(STATUS "Qt libraries NOT found!") + ENDIF(NOT QT_LIBRARY_DIR ) + IF ( NOT QT_INCLUDE_DIR ) + MESSAGE(STATUS "Qt includes NOT found!") + ENDIF( NOT QT_INCLUDE_DIR ) + IF ( NOT QT_MOC_EXECUTABLE ) + MESSAGE(STATUS "Qt's moc NOT found!") + ENDIF( NOT QT_MOC_EXECUTABLE ) + IF ( NOT QT_UIC_EXECUTABLE ) + MESSAGE(STATUS "Qt's uic NOT found!") + ENDIF( NOT QT_UIC_EXECUTABLE ) + IF ( NOT QT_RCC_EXECUTABLE ) + MESSAGE(STATUS "Qt's rcc NOT found!") + ENDIF( NOT QT_RCC_EXECUTABLE ) MESSAGE( FATAL_ERROR "Qt libraries, includes, moc, uic or/and rcc NOT found!") ENDIF( Qt4_FIND_REQUIRED) ENDIF( QT_LIBRARY_DIR AND QT_INCLUDE_DIR AND QT_MOC_EXECUTABLE AND QT_UIC_EXECUTABLE AND QT_RCC_EXECUTABLE) -- cgit v1.2.1