Merge branch 'master' into sebas/kplugins

This commit is contained in:
Sebastian Kügler 2013-07-12 10:35:09 +02:00
commit 84cd704368
7 changed files with 9 additions and 8 deletions

View File

@ -62,7 +62,6 @@ find_package(KF5 MODULE REQUIRED COMPONENTS CMake Compiler InstallDirs
#find_package(KF5Transitional REQUIRED)
# those are not "done" yet:
find_package(kde4support REQUIRED NO_MODULE)
find_package(ktextwidgets REQUIRED NO_MODULE)
find_package(ki18n REQUIRED NO_MODULE)
find_package(kio REQUIRED NO_MODULE)
@ -72,6 +71,9 @@ find_package(kdeclarative REQUIRED NO_MODULE)
# FIXME: remove when kdeui is fully split up
find_package(KDELibs4 REQUIRED NO_MODULE)
# must be after KDELibs4, since it links against imported targets coming from KDELibs4Config.cmake:
find_package(KDE4Support REQUIRED NO_MODULE)
#optional features
find_package(X11 MODULE)
if(X11_FOUND)

View File

@ -15,7 +15,7 @@ qt4_automoc(sortfiltermodeltest.cpp)
target_link_libraries(sortfiltermodeltest
plasma
KDE4__kde4support
${KDE4Support_LIBRARIES}
${QT_QTGUI_LIBRARY}
${QT_QTTEST_LIBRARY}
)

View File

@ -11,7 +11,7 @@ target_link_libraries(dirmodelplugin
${QT_QTCORE_LIBRARY}
${Qt5Qml_LIBRARIES}
${KDE4_KIO_LIBS}
KDE4__kde4support
${KDE4Support_LIBRARIES}
)
install(TARGETS dirmodelplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/dirmodel)

View File

@ -8,7 +8,7 @@ target_link_libraries(fullmodelaccesstest
${QT_QTGUI_LIBRARY}
${QT_QTTEST_LIBRARY}
${KDE4_KDECORE_LIBS}
KDE4__kde4support
${KDE4Support_LIBRARIES}
)
add_test(plasma-fullmodelaccesstest fullmodelaccesstest)

View File

@ -150,7 +150,7 @@ target_link_libraries(plasma
${KWindowSystem_LIBRARIES}
${PLASMA_EXTRA_LIBS}
ki18n
${kde4support_LIBRARY}
${KDE4Support_LIBRARIES}
)
#FIXME gpgme++ is in kdepimlibs, neeeds to be elsewhere
target_link_libraries(plasma kdeclarative ${KArchive_LIBRARIES})

View File

@ -26,7 +26,7 @@ include_directories(${PHONON_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR}/common)
kde4_add_plugin(plasma_appletscript_declarative ${declarative_appletscript_SRCS})
target_link_libraries(plasma_appletscript_declarative
${KDE4_KIO_LIBS}
${KDE4_KDE4SUPPORT_LIBS}
${KDE4Support_LIBRARIES}
${QT_QTSCRIPT_LIBRARY}
${Qt5Quick_LIBRARIES}
${Qt5Qml_LIBRARIES}

View File

@ -82,11 +82,10 @@ target_link_libraries(plasma-shell
plasma
${Qt5Script_LIBRARIES}
${KDE4_KDEUI_LIBS}
KDE4__kde4support
${KDE4Support_LIBRARIES}
${Solid_LIBRARIES}
kdeclarative
)
message("+++ kde4support : ${kde4support_LIBRARY}")
install(TARGETS plasma-shell ${INSTALL_TARGETS_DEFAULT_ARGS})