aboutsummaryrefslogtreecommitdiff
path: root/modules/FindQt4.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindQt4.cmake')
-rw-r--r--modules/FindQt4.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/FindQt4.cmake b/modules/FindQt4.cmake
index 4fc50324..52359172 100644
--- a/modules/FindQt4.cmake
+++ b/modules/FindQt4.cmake
@@ -851,6 +851,12 @@ IF (QT4_QMAKE_FOUND)
SET(QT_QTXMLPATTERNS_FOUND FALSE)
ENDIF(EXISTS ${QT_LIBRARY_DIR}/QtXmlPatterns.framework)
+ IF(EXISTS ${QT_LIBRARY_DIR}/QtHelp.framework)
+ SET(QT_QTHELP_FOUND TRUE)
+ SET(QT_QTHELP_LIBRARY "-F${QT_LIBRARY_DIR} -framework QtHelp" CACHE STRING "The QtHelp library.")
+ ELSE(EXISTS ${QT_LIBRARY_DIR}/QtHelp.framework)
+ SET(QT_QTHELP_FOUND FALSE)
+ ENDIF(EXISTS ${QT_LIBRARY_DIR}/QtHelp.framework)
# WTF? why don't we have frameworks? :P
# Set QT_QTUITOOLS_LIBRARY