Files
Z-bin 243cd08bdb feat(user-guide): add user-guide of zh-CN
Description: 添加中文用户手册

Log: 添加中文用户手册
2021-01-13 00:22:37 -06:00

127 lines
3.3 KiB
Prolog

#-------------------------------------------------
#
# Project created by QtCreator 2019-12-21T09:41:12
#
#-------------------------------------------------
QT += core gui network x11extras svg xml dbus
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
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)
include($$PROJECT_COMPONENTSOURCE/imageutil.pri)
DEFINES += PLUGIN_INSTALL_DIRS='\\"$${PLUGIN_INSTALL_DIRS}\\"'
LIBS += -L$$[QT_INSTALL_LIBS] -lX11 -lgsettings-qt
#LIBS += -L$$[QT_INSTALL_LIBS] -lkylinssoclient
##加载gio库和gio-unix库,用于处理desktop文件
CONFIG += link_pkgconfig \
C++11
PKGCONFIG += gio-2.0 \
gio-unix-2.0 \
libmatemixer \
gsettings-qt \
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/
mo.files += $$PROJECT_ROOTDIR/data/installer-timezones.mo
mo.path = /usr/share/locale/zh_CN/LC_MESSAGES/
guideCN.files += $$PROJECT_ROOTDIR/data/zh_CN/
guideCN.path += /usr/share/kylin-user-guide/data/guide/ukui-control-center/
target.source += $$TARGET
target.path = /usr/bin
INSTALLS += \
target \
desktop \
schemes \
face \
mo \
guideCN
INCLUDEPATH += qtsingleapplication
DEPENDPATH += qtsingleapplication
SOURCES += \
customstyle.cpp \
main.cpp \
mainwindow.cpp \
framelessExtended/cursorposcalculator.cpp \
framelessExtended/framelesshandle.cpp \
framelessExtended/widgethandlerealize.cpp \
homepagewidget.cpp \
modulepagewidget.cpp \
pinyin.cpp \
prescene.cpp \
searchwidget.cpp \
ukccabout.cpp \
utils/keyvalueconverter.cpp \
component/leftwidgetitem.cpp \
component/clicklabel.cpp \
utils/functionselect.cpp \
component/hoverwidget.cpp \
qtsingleapplication/qtsingleapplication.cpp \
qtsingleapplication/qtlocalpeer.cpp \
utils/utils.cpp \
utils/xatom-helper.cpp
HEADERS += \
customstyle.h \
mainwindow.h \
interface.h \
framelessExtended/cursorposcalculator.h \
framelessExtended/framelesshandle.h \
framelessExtended/framelesshandleprivate.h \
framelessExtended/widgethandlerealize.h \
homepagewidget.h \
modulepagewidget.h \
pinyin.h \
prescene.h \
searchwidget.h \
ukccabout.h \
utils/keyvalueconverter.h \
component/leftwidgetitem.h \
component/clicklabel.h \
utils/functionselect.h \
component/hoverwidget.h \
qtsingleapplication/qtsingleapplication_copy.h \
qtsingleapplication/qtsingleapplication.h \
qtsingleapplication/qtlocalpeer.h \
utils/utils.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