ukui-control-center/shell/shell.pro

153 lines
4.3 KiB
Prolog
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#-------------------------------------------------
#
# Project created by QtCreator 2019-12-21T09:41:12
#
#-------------------------------------------------
QT += core gui network x11extras svg xml dbus KWindowSystem concurrent
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets quickwidgets
TARGET = ukui-control-center
DESTDIR = ..
TEMPLATE = app
DEFINES += QT_DEPRECATED_WARNINGS
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
include(../env.pri)
DEFINES += PLUGIN_INSTALL_DIRS='\\"$${PLUGIN_INSTALL_DIRS}\\"'
DEFINES += PLUGIN_INSTALL_UPDATE='\\"$${PLUGIN_INSTALL_UPDATE}\\"'
LIBS += -L$$[QT_INSTALL_LIBS] -lX11 -lgsettings-qt -lXi -ldconf
!contains(QMAKE_HOST.arch, sw_64){
LIBS += -L$$[QT_INSTALL_LIBS] -lukui-log4qt
}
DEFINES+= KYDEBUG
##加载gio库和gio-unix库用于处理desktop文件
CONFIG += link_pkgconfig \
C++11
PKGCONFIG += gio-2.0 \
gio-unix-2.0 \
gsettings-qt \
libmatemixer \
kysdk-waylandhelper \
kysdk-diagnostics \
kysdk-sysinfo \
kysdk-qtwidgets \
kysdk-waylandhelper
desktop.files += ukui-control-center.desktop
desktop.path = /usr/share/applications
schemes.files += $$PROJECT_ROOTDIR/data/*.xml
schemes.path = /usr/share/glib-2.0/schemas/
face.files += $$PROJECT_ROOTDIR/data/faces/
face.path = /usr/share/ukui/
moZH.files += $$PROJECT_ROOTDIR/data/zh_CN/installer-timezones.mo
moZH.path = /usr/share/locale/zh_CN/LC_MESSAGES/
moBO.files += $$PROJECT_ROOTDIR/data/bo_CN/installer-timezones.mo
moBO.path = /usr/share/locale/bo_CN/LC_MESSAGES/
guideCN.files += $$PROJECT_ROOTDIR/data/zh_CN/
guideCN.path += /usr/share/kylin-user-guide/data/guide/ukui-control-center/
guideEN.files += $$PROJECT_ROOTDIR/data/en_US/
guideEN.path += /usr/share/kylin-user-guide/data/guide/ukui-control-center/
imageformats.files += $$PROJECT_ROOTDIR/data/ukui-control-center.png
imageformats.path = /usr/share/kylin-user-guide/data/guide/ukui-control-center/
target.source += $$TARGET
target.path = /usr/bin
INSTALLS += \
target \
desktop \
schemes \
face \
moZH \
moBO \
guideCN \
imageformats \
guideEN \
INCLUDEPATH += qtsingleapplication \
/usr/include/dconf
DEPENDPATH += qtsingleapplication
SOURCES += \
iconbutton.cpp \
component/leftmenulist.cpp \
customstyle.cpp \
leftsidebarwidget.cpp \
main.cpp \
mainwindow.cpp \
framelessExtended/cursorposcalculator.cpp \
framelessExtended/framelesshandle.cpp \
framelessExtended/widgethandlerealize.cpp \
homepagewidget.cpp \
modulepagewidget.cpp \
mstackwidget.cpp \
pinyin.cpp \
prescene.cpp \
searchwidget.cpp \
titlewidget.cpp \
ukccabout.cpp \
component/leftwidgetitem.cpp \
qtsingleapplication/qtsingleapplication.cpp \
qtsingleapplication/qtlocalpeer.cpp \
utils/functionselect.cpp \
utils/keyvalueconverter.cpp \
utils/xatom-helper.cpp
HEADERS += \
iconbutton.h \
component/leftmenulist.h \
customstyle.h \
leftsidebarwidget.h \
mainwindow.h \
interface.h \
framelessExtended/cursorposcalculator.h \
framelessExtended/framelesshandle.h \
framelessExtended/framelesshandleprivate.h \
framelessExtended/widgethandlerealize.h \
homepagewidget.h \
modulepagewidget.h \
mstackwidget.h \
pinyin.h \
prescene.h \
searchwidget.h \
titlewidget.h \
ukccabout.h \
component/leftwidgetitem.h \
qtsingleapplication/qtsingleapplication_copy.h \
qtsingleapplication/qtsingleapplication.h \
qtsingleapplication/qtlocalpeer.h \
utils/functionselect.h \
utils/keyvalueconverter.h \
utils/xatom-helper.h
FORMS += \
mainwindow.ui \
homepagewidget.ui \
modulepagewidget.ui
RESOURCES += \
res/resfile.qrc
DISTFILES += \
../data/installer-timezones.mo \
../data/org.ukui.control-center.panel.plugins.gschema.xml \
../data/org.ukui.control-center.personalise.gschema.xml \
../data/org.ukui.control-center.wifi.switch.gschema.xml \
../data/org.ukui.control-center.vino.xml \
res/search.xml