Hi!

The cmake build system is broken for people using the framework version of Qt on Mac. The following patch fixes this by using the QT_INCLUDES variables from the FindQt4 module of cmake. This should always point to the include directories, no matter which kind of Qt one uses. Is there a reason against using this?

Stefan


Index: development/cmake/src/frontends/qt4/CMakeLists.txt
===================================================================
--- development/cmake/src/frontends/qt4/CMakeLists.txt  (revision 20780)
+++ development/cmake/src/frontends/qt4/CMakeLists.txt  (working copy)
@@ -24,7 +24,7 @@
 include_directories(
        ${TOP_SRC_DIR}/src/frontends/qt4
        ${TOP_SRC_DIR}/src/frontends/controllers
- ${QT_INCLUDE_DIR} ${QT_INCLUDE_DIR}/QtCore ${QT_INCLUDE_DIR}/ QtGui
+       ${QT_INCLUDES}
        ${CMAKE_CURRENT_BINARY_DIR})

 if(MERGE_FILES)

Attachment: PGP.sig
Description: Signierter Teil der Nachricht

Reply via email to