1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
|
#-------------------------------------------------
#
# Project created by QtCreator 2019-06-21T10:50:19
#
#-------------------------------------------------
include(../../../env.pri)
include($$PROJECT_ROOTDIR/libukcc/widgets/FlowLayout/flowlayout.pri)
include($$PROJECT_ROOTDIR/libukcc/widgets/Label/label.pri)
include($$PROJECT_ROOTDIR/libukcc/widgets/Uslider/uslider.pri)
include($$PROJECT_ROOTDIR/libukcc/interface.pri)
include($$PROJECT_ROOTDIR/libukcc/widgets/SettingWidget/settingwidget.pri)
QT += widgets KConfigCore KI18n x11extras concurrent dbus
TEMPLATE = lib
CONFIG += plugin \
link_pkgconfig \
c++11
TARGET = $$qtLibraryTarget(theme)
DESTDIR = ../..
target.path = $${PLUGIN_INSTALL_DIRS}
INSTALLS += target
INCLUDEPATH += $$PROJECT_ROOTDIR \
if(contains(DEFINES, Nile)){
INCLUDEPATH += /usr/include/kysdk/kysdk-base
LIBS += -lkyconf2
}
LIBS += -L$$[QT_INSTALL_LIBS] -lgsettings-qt -lX11 -lXfixes -lXcursor
PKGCONFIG += gsettings-qt \
kysdk-qtwidgets \
exists(/usr/include/kysdk/kysdk-system/libkysysinfo.h) {
DEFINES += KY_SDK_SYSINFO
PKGCONFIG += kysdk-sysinfo
}
SOURCES += \
cursor/cursortheme.cpp \
cursor/xcursortheme.cpp \
drawiconlabel.cpp \
globaltheme/customglobaltheme.cpp \
globaltheme/globaltheme.cpp \
globaltheme/globalthemehelper.cpp \
icontheme.cpp \
myslider.cpp \
radioproxystyle.cpp \
theme.cpp \
themebutton.cpp \
themeiconlabel.cpp \
themewidget.cpp \
widgetgroup.cpp \
../../../shell/customstyle.cpp
HEADERS += \
cursor/config-X11.h \
cursor/cursortheme.h \
cursor/xcursortheme.h \
drawiconlabel.h \
globaltheme/customglobaltheme.h \
globaltheme/globaltheme.h \
globaltheme/globaltheme_p.h \
globaltheme/globalthemehelper.h \
globaltheme/globalthemehelper_p.h \
icontheme.h \
myslider.h \
radioproxystyle.h \
theme.h \
themebutton.h \
themeiconlabel.h \
themewidget.h \
widgetgroup.h \
../../../shell/customstyle.h
FORMS += \
theme.ui
|