Hi all, I am trying to follow
http://techbase.kde.org/Development/Tutorials/Using_KConfig_XT tutorial. I got down to the Use and Dialogs section, and I am expacting to see generated .cpp and .h files in my build tree, but I don't. If I run kconfig_compiler from command line it does generate the files; configure command in KDeveloper ouputs that it finds kconfig_compiler, but somewhy the build process does not engage it. I attach my CMakeLists.txt and kcfg/kcfgc files just in case. I can surely generate these by hand and live with it, but I rather do it automagically... Feels like some minor detail that I have missed somewhere... Thanks a lot, Running stock KDevelop Version 4.2.0 Using KDE Development Platform 4.6.00 (4.6.0) "release 6" on OpenSuSE 11.4 -- Anatoli Gorchetchnikov, PhD Research Assistant Professor Neuromorphics Lab Boston University 677 Beacon St Boston, MA, 02215
project(kinness)
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=1032)
include_directories(
${CMAKE_SOURCE_DIR}/src/kbase
${CMAKE_SOURCE_DIR}/src/kproject
${CMAKE_CURRENT_BINARY_DIR}
${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES}
)
add_subdirectory(kbase)
add_subdirectory(kproject)
add_subdirectory(kvision)
add_subdirectory(kworld)
add_subdirectory(kgeneric)
set(kinness_SRCS
main.cpp
kinnessapp.cpp
)
kde4_add_executable(kinness ${kinness_SRCS})
kde4_add_kcfg_files(kinness_SRCS kinness.kcfgc)
target_link_libraries(kinness kinproject)
########### install files ###############
install(TARGETS kinness ${INSTALL_TARGETS_DEFAULT_ARGS} )
install(PROGRAMS kinness.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install(FILES kinnessui.rc DESTINATION ${DATA_INSTALL_DIR}/kinness )
install(FILES kinness.kcfg DESTINATION ${KCFG_INSTALL_DIR})
File=kinness.kcfg ClassName=KInNeSSConfig Singleton=true
kinness.kcfg
Description: XML document
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
