Changeset View
Changeset View
Standalone View
Standalone View
src/platformtheme/CMakeLists.txt
Show All 18 Lines | |||||
19 | remove_definitions(-DQT_NO_SIGNALS_SLOTS_KEYWORDS) | 19 | remove_definitions(-DQT_NO_SIGNALS_SLOTS_KEYWORDS) | ||
20 | 20 | | |||
21 | 21 | | |||
22 | include_directories(${Qt5Core_PRIVATE_INCLUDE_DIRS}) | 22 | include_directories(${Qt5Core_PRIVATE_INCLUDE_DIRS}) | ||
23 | include_directories(${Qt5Gui_PRIVATE_INCLUDE_DIRS}) | 23 | include_directories(${Qt5Gui_PRIVATE_INCLUDE_DIRS}) | ||
24 | 24 | | |||
25 | set(platformtheme_SRCS | 25 | set(platformtheme_SRCS | ||
26 | kdeplatformtheme.cpp | 26 | kdeplatformtheme.cpp | ||
27 | qdbusmenubar.cpp # fork of Qt's qdbusmenubar with some added setters for our convenience | | |||
28 | kfontsettingsdata.cpp | 27 | kfontsettingsdata.cpp | ||
29 | khintssettings.cpp | 28 | khintssettings.cpp | ||
30 | kdeplatformfiledialoghelper.cpp | 29 | kdeplatformfiledialoghelper.cpp | ||
31 | kdeplatformfiledialogbase.cpp | 30 | kdeplatformfiledialogbase.cpp | ||
32 | kdeplatformsystemtrayicon.cpp | 31 | kdeplatformsystemtrayicon.cpp | ||
33 | kfiletreeview.cpp | 32 | kfiletreeview.cpp | ||
34 | kdirselectdialog.cpp | 33 | kdirselectdialog.cpp | ||
35 | kwaylandintegration.cpp | 34 | kwaylandintegration.cpp | ||
36 | x11integration.cpp | 35 | x11integration.cpp | ||
37 | main.cpp | 36 | main.cpp | ||
38 | ) | 37 | ) | ||
39 | 38 | | |||
39 | if(Qt5Core_VERSION VERSION_EQUAL "5.7.0" OR Qt5Core_VERSION VERSION_GREATER "5.7.0") | ||||
40 | set(platformtheme_SRCS | ||||
41 | qdbusmenubar.cpp # fork of Qt's qdbusmenubar with some added setters for our convenience | ||||
42 | ${platformtheme_SRCS} | ||||
43 | ) | ||||
44 | endif() | ||||
40 | 45 | | |||
41 | add_library(KDEPlasmaPlatformTheme MODULE ${platformtheme_SRCS}) | 46 | add_library(KDEPlasmaPlatformTheme MODULE ${platformtheme_SRCS}) | ||
42 | 47 | | |||
43 | target_link_libraries(KDEPlasmaPlatformTheme | 48 | target_link_libraries(KDEPlasmaPlatformTheme | ||
44 | PRIVATE | 49 | PRIVATE | ||
45 | Qt5::DBus | 50 | Qt5::DBus | ||
46 | Qt5::X11Extras | 51 | Qt5::X11Extras | ||
47 | KF5::ConfigWidgets | 52 | KF5::ConfigWidgets | ||
Show All 22 Lines |