From cce0248e90d5d0857ee200e9790adfcbb1584a71 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 5 Mar 2013 14:43:14 +0100 Subject: [PATCH] adapt to kaboutdata api changes --- CMakeLists.txt | 2 ++ main.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a6f98006d..ccdef75cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,7 @@ add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) find_package(Qt5Transitional REQUIRED Core) find_package(Qt5Qml REQUIRED) find_package(Qt5Quick REQUIRED) +find_package(KCoreAddons REQUIRED) # The Qt5Widgets_INCLUDES also includes the include directories for @@ -48,6 +49,7 @@ target_link_libraries(testplasma2 ${Qt5Qml_LIBRARIES} ${KDE4_KDECORE_LIBS} ${KWindowSystem_LIBRARIES} + ${KCoreAddons_LIBRARIES} plasma ) diff --git a/main.cpp b/main.cpp index d99fb4fe2..1031759bb 100644 --- a/main.cpp +++ b/main.cpp @@ -37,7 +37,7 @@ static const char version[] = "1.0"; int main(int argc, char** argv) { - KAboutData aboutData("testplasma2", 0, ki18n("Plasma2 test app"), + KAboutData aboutData("testplasma2", QString(), ki18n("Plasma2 test app"), version, ki18n(description), KAboutData::License_GPL, ki18n("Copyright 2012, The KDE Team")); aboutData.addAuthor(ki18n("Marco Martin"),