feat: 支持 dpkg-buildpackage 打包

支持 dpkg-buildpackage 打包

Log: 支持 dpkg-buildpackage 打包;整理项目目录结构
This commit is contained in:
zty199
2022-11-20 17:49:00 +08:00
parent 1aed5532a3
commit 1b3d161f4d
26 changed files with 192 additions and 723 deletions

View File

@@ -31,7 +31,18 @@ SOURCES += \
webengineurlrequestinterceptor.cpp
RESOURCES += \
imgs.qrc
resources/resources.qrc
TRANSLATIONS += \
translations/spark-webapp-runtime_zh_CN.ts
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/durapps/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
# Rules for deployment
qm.files += translations/*.qm
qm.path = /opt/durapps/$${TARGET}/share/$${TARGET}/translations
INSTALLS += qm