1 Star 0 Fork 35

华仔/ukui-menu

forked from openKylin/ukui-menu 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ukui-menu.pro 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
lixueman 提交于 2022-07-27 12:16 . update ukui-menu.pro.
#-------------------------------------------------
#
# ukui-menu
#
#-------------------------------------------------
QT += core gui svg dbus x11extras KWindowSystem sql
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
include(./src/BackProcess/backprocess.pri)
include(./src/QtSingleApplication/qtsingleapplication.pri)
include(./src/UserInterface/userinterface.pri)
include(./src/UtilityFunction/utilityfunction.pri)
QMAKE_CXXFLAGS += -g
TARGET = ukui-menu
TEMPLATE = app
target.path = /usr/bin
TRANSLATIONS+=\
translations/ukui-menu_bo_CN.ts \
translations/ukui-menu_zh_CN.ts \
translations/ukui-menu_tr.ts
QM_FILES_INSTALL_PATH = /usr/share/ukui-menu/translations/
# CONFIG += lrelase not work for qt5.6, add those from lrelease.prf for compatibility
qtPrepareTool(QMAKE_LRELEASE, lrelease)
lrelease.name = lrelease
lrelease.input = TRANSLATIONS
lrelease.output = ${QMAKE_FILE_IN_BASE}.qm
lrelease.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT}
lrelease.CONFIG = no_link
QMAKE_EXTRA_COMPILERS += lrelease
PRE_TARGETDEPS += compiler_lrelease_make_all
for (translation, TRANSLATIONS) {
translation = $$basename(translation)
QM_FILES += $$OUT_PWD/$$replace(translation, \\..*$, .qm)
}
qm_files.files = $$QM_FILES
qm_files.path = $$QM_FILES_INSTALL_PATH
qm_files.CONFIG = no_check_exist
INSTALLS += qm_files
# So we can access it from main.cpp
DEFINES += QM_FILES_INSTALL_PATH='\\"$${QM_FILES_INSTALL_PATH}\\"'
PKGCONFIG+=glib-2.0 gio-unix-2.0 gsettings-qt libbamf3 x11 xtst kysdk-waylandhelper
CONFIG += no_keywords link_pkgconfig
LIBS+=-pthread -luchardet -lukui-log4qt -lukui-com4c -lukui-com4cxx -lpeony
desktop_file.files = ukui-menu.desktop
desktop_file.path = /etc/xdg/autostart
INSTALLS += \
target desktop_file
FORMS +=
SOURCES += \
main.cpp \
RESOURCES += \
res.qrc
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hhw-baobei/ukui-menu.git
git@gitee.com:hhw-baobei/ukui-menu.git
hhw-baobei
ukui-menu
ukui-menu
openkylin/yangtze

搜索帮助