make it build and fix linking
This commit is contained in:
parent
025f3eba5a
commit
3ab4e1a84a
2 changed files with 8 additions and 10 deletions
|
@ -88,11 +88,12 @@ target_link_libraries(kwincompositing
|
|||
${Qt5Qml_LIBRARIES}
|
||||
${Qt5Core_LIBARIES}
|
||||
${kservice_LIBRARIES}
|
||||
Qt5::DBus
|
||||
KF5::KI18n
|
||||
KF5::KService
|
||||
${Qt5Widgets_LIBRARIES}
|
||||
${KDE4_KDECORE_LIBS}
|
||||
${KDE4_KCMUTILS_LIBS}
|
||||
${Qt5Test_LIBRARIES}
|
||||
${KDE4Support_LIBRARIES}
|
||||
${KCoreAddons_LIBRARIES})
|
||||
|
||||
set(modelTest_SRC
|
||||
|
@ -109,13 +110,15 @@ target_link_libraries(effectModelTest
|
|||
${Qt5Qml_LIBRARIES}
|
||||
${Qt5Core_LIBARIES}
|
||||
${kservice_LIBRARIES}
|
||||
Qt5::DBus
|
||||
KF5::KI18n
|
||||
KF5::KService
|
||||
${Qt5Widgets_LIBRARIES}
|
||||
${KDE4_KDECORE_LIBS}
|
||||
${KDE4_KCMUTILS_LIBS}
|
||||
${Qt5Test_LIBRARIES}
|
||||
${KDE4Support_LIBRARIES}
|
||||
${KCoreAddons_LIBRARIES})
|
||||
|
||||
|
||||
INSTALL(DIRECTORY qml DESTINATION ${DATA_INSTALL_DIR}/kwincompositing)
|
||||
INSTALL(TARGETS kwincompositing ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
################# list the subdirectories #################
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <QApplication>
|
||||
|
||||
#include <KAboutData>
|
||||
#include <kcmdlineargs.h>
|
||||
#include <klocalizedstring.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
@ -38,11 +38,6 @@ int main(int argc, char *argv[])
|
|||
i18n("Author and maintainer"),
|
||||
"kok3rs@gmail.com");
|
||||
|
||||
KCmdLineArgs::init(argc, argv,
|
||||
"kwincompositing", "",
|
||||
ki18n("KWinCompositing"),
|
||||
"0.1");
|
||||
|
||||
QApplication app(argc, argv);
|
||||
|
||||
KWin::Compositing::EffectView *view = new KWin::Compositing::EffectView();
|
||||
|
|
Loading…
Reference in a new issue