加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ccc-app-manager.pro 2.43 KB
一键复制 编辑 原始数据 按行查看 历史
ct 提交于 2022-09-28 22:41 . feat: 构建中加入deepin安装包信息
#-------------------------------------------------
#
# Project created by QtCreator 2021-06-08T13:24:57
#
#-------------------------------------------------
QT += core gui dtkwidget svg network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = ccc-app-manager
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
CONFIG += c++11 link_pkgconfig
SOURCES += \
src/main.cpp \
src/mainwindow.cpp \
src/appmanagerwidget.cpp \
src/appmanagermodel.cpp \
src/job/appmanagerjob.cpp \
src/common/appmanagercommon.cpp \
src/dlg/pkgdownloaddlg.cpp \
src/pkgmonitor/pkgmonitor.cpp
HEADERS += \
src/mainwindow.h \
src/appmanagerwidget.h \
src/appmanagermodel.h \
src/job/appmanagerjob.h \
src/common/appmanagercommon.h \
src/dlg/pkgdownloaddlg.h \
src/pkgmonitor/pkgmonitor.h
isEmpty(VERSION) {
VERSION = 0.0.1
}
DEFINES += QMAKE_TARGET=\\\"$$TARGET\\\" QMAKE_VERSION=\\\"$$VERSION\\\"
message(VERSION: $$VERSION)
# Default rules for deployment.
target.path = /opt/apps/com.github.ccc-app-manager/files
icon.files = ./resources/icons/ccc-app-manager_56px.svg
icon.path = /opt/apps/com.github.ccc-app-manager/files
opt_desktop.files = ./com.github.ccc-app-manager.desktop
opt_desktop.path = /opt/apps/com.github.ccc-app-manager/entries
usr_desktop.files = ./com.github.ccc-app-manager.desktop
usr_desktop.path = /usr/share/applications
pkg.files = ./pkg/*
pkg.path = /opt/apps/com.github.ccc-app-manager/files/pkg
start.files = ./start.sh
start.path = /opt/apps/com.github.ccc-app-manager/files
# deepin安装包信息
deepin_pkg_info.files = ./debian/deepin_pkg_info/info
deepin_pkg_info.path = /opt/apps/com.github.ccc-app-manager
INSTALLS += target icon opt_desktop usr_desktop pkg start deepin_pkg_info
RESOURCES += \
resources/icons.qrc
LIBS += -L$$PWD/zlib -lz \
-L$$PWD/ -lgsettings-qt
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化