Qt KDE integration in kdereview.

Christoph Feck christoph at maxiom.de
Thu Nov 5 01:19:16 GMT 2009


On Tuesday 03 November 2009 16:55:51 Olivier Goffart wrote:
> I have just submitted a new plugin in kdereview:  qguiplatformplugin_kde

I had to apply the following change to make (re)building work, not sure if it 
shouldn't use automoc stuff...

Otherwise it may fail with this error:

make[2]: *** No rule to make target `qguiplatformplugin_kde.moc', needed by 
`qguiplatformplugin_kde/CMakeFiles/kde.dir/qguiplatformplugin_kde.o'.

Christoph Feck (kdepepo)

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt      (Revision 1044950)
+++ CMakeLists.txt      (Arbeitskopie)
@@ -10,7 +10,7 @@
 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} 
${KDE4_INCLUDES})

 set(kde_SOURCES  qguiplatformplugin_kde.cpp)
-qt4_generate_moc(qguiplatformplugin_kde.cpp qguiplatformplugin_kde.moc)
+qt4_generate_moc(qguiplatformplugin_p.h qguiplatformplugin_kde.moc)

 add_library (kde SHARED ${kde_SOURCES})




More information about the kde-core-devel mailing list