]> Creatis software - bbtk.git/commitdiff
Bug #1871 Compilation issue due to Boost and Qt compatibility bug.
authorClaire Mouton <claire.mouton@creatis.insa-lyon.fr>
Fri, 14 Dec 2012 10:01:47 +0000 (11:01 +0100)
committerClaire Mouton <claire.mouton@creatis.insa-lyon.fr>
Fri, 14 Dec 2012 10:01:47 +0000 (11:01 +0100)
kernel/src/CMakeLists.txt
packages/qt/src/CMakeLists.txt

index d69660f1e557ddb054c3538937d68e56ed04398d..449e133436b75f0e3befe4c62b993f7063e62fba 100644 (file)
@@ -172,7 +172,7 @@ IF(BBTK_USE_QT)
     SET(QT4_HEADERS_TO_WRAP
       bbtkQtBlackBoxDialog.h
       )
-    QT4_WRAP_CPP(MOC_SOURCES ${QT4_HEADERS_TO_WRAP})
+    QT4_WRAP_CPP(MOC_SOURCES ${QT4_HEADERS_TO_WRAP} OPTIONS -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
     #--------------------------------------------------------------------------- 
     # UI
     QT4_WRAP_UI(UI_SOURCES
index 8f1102182a4ca7a8961e9f06694cfbc88ebf4f49..2deab8401afa2db74975e7cba3aa0b9ba4509572 100644 (file)
@@ -29,7 +29,7 @@
 SET(QT4_HEADERS_TO_WRAP
   bbqtSlider.h
   )
-QT4_WRAP_CPP(MOC_SOURCES ${QT4_HEADERS_TO_WRAP})
+QT4_WRAP_CPP(MOC_SOURCES ${QT4_HEADERS_TO_WRAP} OPTIONS -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
 #--------------------------------------------------------------------------- 
 # UI
 #QT4_WRAP_UI(UI_SOURCES