project(qtest) find_package(KDE4 REQUIRED) include(KDE4Defaults) add_definitions( ${QT_DEFINITIONS} ) include_directories( ${QT_INCLUDES} ) set(test_SRCS main.cpp ) kde4_add_executable(qtest ${test_SRCS} ) target_link_libraries(qtest ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} )