[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/khotkeys/kcontrol
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2006-03-21 19:33:47
Message-ID: 1142969627.982299.10914.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 521172 by neundorf:

-use qt4_wrap_cpp(LIST_VAR headers...) for moc-handling without automoc

Alex



 M  +5 -3      CMakeLists.txt  


--- trunk/KDE/kdebase/khotkeys/kcontrol/CMakeLists.txt #521171:521172
@@ -30,9 +30,7 @@
 	${CMAKE_SOURCE_DIR}/khotkeys/kcontrol/ui/gestures_settings_tab_ui.ui 
 	${CMAKE_SOURCE_DIR}/khotkeys/kcontrol/ui/general_settings_tab_ui.ui )
 
-qt4_generate_moc(actions_listview.h actions_listview.moc.cpp)
-
-set(kcm_khotkeys_PART_SRCS ${libui_SRCS} ${libshared_SRCS} actions_listview.moc.cpp
+set(kcm_khotkeys_PART_SRCS ${libui_SRCS} ${libshared_SRCS}
    menuedit.cpp 
    window_trigger_widget.cpp 
    tab_widget.cpp 
@@ -60,6 +58,10 @@
    gestures_settings_tab.cpp 
    general_settings_tab.cpp )
 
+
+# run moc on actions_listview.h and add the resulting stuff to the kcm_khotkeys_PART_SRCS list
+qt4_wrap_cpp(kcm_khotkeys_PART_SRCS actions_listview.h)
+
 kde4_automoc(${kcm_khotkeys_PART_SRCS})
 
 kde4_add_plugin(kcm_khotkeys ${kcm_khotkeys_PART_SRCS})
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic