]> git.lyx.org Git - features.git/commitdiff
qt should not pollute the namespace
authorPeter Kümmel <syntheticpp@gmx.net>
Mon, 28 Aug 2006 16:41:48 +0000 (16:41 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Mon, 28 Aug 2006 16:41:48 +0000 (16:41 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14847 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/src/frontends/qt4/CMakeLists.txt

index e329846ee4ac6afcc8dae62f3a1632afc4c5c409..0db9b94d96c876744ab8f5eef32c9545e7872132 100644 (file)
@@ -12,7 +12,12 @@ lyx_add_ui_files(frontends_qt4_sources ${frontend_qt4_UI})
 
 source_group("Uic files" FILES ${frontend_qt4_UI})
 
-add_definitions(-DQT_NO_STL)
+add_definitions(
+               -DQT_CLEAN_NAMESPACE
+               -DQT_GENUINE_STR
+               -DQT_NO_STL
+               -DQT_NO_KEYWORDS
+               )
 
 include_directories(   ${TOP_SRC_DIR}/src/frontends/qt4 
                        ${TOP_SRC_DIR}/src/frontends/controllers