Version: unspecified (using Devel) OS: OpenBSD compiling plasmaaddons, because of missing .moc definition in CMakeLists.txt we get a compile error in the generated main.cpp by moc applets/kimpanel/backend/scim/CMakeLists.txt here's the patch diff to fix it... Hope it goes in for other arches... +--- applets/kimpanel/backend/scim/CMakeLists.txt.orig Thu Jan 19 19:41:33 2012 ++++ applets/kimpanel/backend/scim/CMakeLists.txt Thu Jan 19 19:42:14 2012 +@@ -5,7 +5,7 @@ if(SCIM_FOUND) + configure_file(config-scim.h.cmake config-scim.h) + set(kimpanel_scim_panel_SRCS main.cpp) + qt4_generate_moc(${kimpanel_scim_panel_SRCS} ${CMAKE_CURRENT_BINARY_DIR}/main.moc) +- add_executable(kimpanel-scim-panel ${kimpanel_scim_panel_SRCS}) ++ add_executable(kimpanel-scim-panel ${kimpanel_scim_panel_SRCS} ${CMAKE_CURRENT_BINARY_DIR}/main.moc) + target_link_libraries(kimpanel-scim-panel ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} ${SCIM_LIBRARIES}) + install(TARGETS kimpanel-scim-panel DESTINATION ${LIBEXEC_INSTALL_DIR}) + endif(SCIM_FOUND) Reproducible: Always Steps to Reproduce: try to compile Actual Results: should compile Expected Results: should compile
OpenBSD amd64 64 bits 5.1 -current. System compiler is gcc/g++ 4.2.1
Please confirm if this still happen with KDE 4.8, I found current cmake is already adjusted.
Amit, need your feedback on comment #2 from the kimpanel maitainer.
Closing as resolved. Please feel free to reopen this report if you can still reproduce this with KDE 4.8.3 or later.
Rafael is slowly bringing KDE5 into OpenBSD, this should probably be fixed. Sorry for the extremely late email.