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