Stop KDELibs4Support from being the all-mighty dependency

Now only Konsole application and some tests link against it
wilder-portage
Aleix Pol 11 years ago
parent 8129473921
commit 0975d32db9
  1. 1
      src/Application.cpp
  2. 2
      src/CMakeLists.txt
  3. 1
      src/MainWindow.cpp
  4. 4
      src/autotests/CMakeLists.txt
  5. 2
      src/autotests/DBusTest.cpp
  6. 2
      src/autotests/DBusTest.h

@ -26,7 +26,6 @@
#include <QtCore/QDir>
// KDE
#include <KAction>
#include <KActionCollection>
#include <KCmdLineArgs>
#include <QDebug>

@ -131,7 +131,6 @@ set(konsole_LIBS
KF5::Bookmarks
KF5::I18n
KF5::Pty
KF5::KDELibs4Support
KF5::KIOWidgets
)
@ -182,6 +181,7 @@ target_link_libraries(kdeinit_konsole konsoleprivate KF5::XmlGui KF5::WindowSyst
KF5::I18n
KF5::KIOWidgets
KF5::NotifyConfig
KF5::KDELibs4Support
)
install(TARGETS kdeinit_konsole konsole

@ -25,7 +25,6 @@
// KDE
#include <KAcceleratorManager>
#include <KAction>
#include <KActionCollection>
#include <KActionMenu>
#include <KCmdLineArgs>

@ -19,7 +19,7 @@ if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
add_executable(DBusTest DBusTest.cpp)
ecm_mark_as_test(DBusTest)
add_test(DBusTest DBusTest)
target_link_libraries(DBusTest ${KONSOLE_TEST_LIBS} Qt5::DBus)
target_link_libraries(DBusTest ${KONSOLE_TEST_LIBS} Qt5::DBus KF5::KDELibs4Support)
endif()
add_executable(HistoryTest HistoryTest.cpp)
@ -37,7 +37,7 @@ if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
add_executable(PartTest PartTest.cpp)
ecm_mark_as_test(PartTest)
add_test(PartTest PartTest)
target_link_libraries(PartTest KF5::XmlGui KF5::Parts KF5::Pty
target_link_libraries(PartTest KF5::XmlGui KF5::Parts KF5::Pty KF5::KDELibs4Support
${KONSOLE_TEST_LIBS})
endif()

@ -20,6 +20,8 @@
// Own
#include "DBusTest.h"
#include "../Session.h"
#include <KDebug>
#include <KProcess>
using namespace Konsole;

@ -25,8 +25,6 @@
#include <QtDBus/QDBusInterface>
#include <QtDBus/QDBusReply>
#include <QtCore/QTextCodec>
#include <KDebug>
#include <KProcess>
#include <unistd.h>

Loading…
Cancel
Save