1 Star 0 Fork 0

zero/qBittorrent-Enhanced-Edition

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
unixconf.pri 1.57 KB
Copy Edit Raw Blame History
# The first path is used when the source is being build by packagers (pbuilder/sbuild/etc)
# The second path is used when you manually run the configure script in the root folder (eg when using qt creator)
exists($$OUT_PWD/../conf.pri) {
include($$OUT_PWD/../conf.pri)
}
else {
include(conf.pri)
}
# COMPILATION SPECIFIC
!nogui:dbus: QT += dbus
QMAKE_CXXFLAGS += -Wall -Wextra -Wpedantic -Wformat-security
# Man page
nogui {
man.files = ../doc/qbittorrent-nox.1
}
else {
man.files = ../doc/qbittorrent.1
}
man.path = $$MANPREFIX/man1
INSTALLS += man
DIST_PATH = ../dist/unix
# Systemd Service file
nogui:systemd {
systemdService.files = $$DIST_PATH/systemd/qbittorrent-nox@.service
systemdService.path = $$PREFIX/lib/systemd/system
INSTALLS += systemdService
}
# Menu Icon
!nogui {
desktopEntry.files = $$DIST_PATH/org.qbittorrent.qBittorrent.desktop
desktopEntry.path = $$DATADIR/applications
INSTALLS += desktopEntry
appdata.files = $$DIST_PATH/org.qbittorrent.qBittorrent.appdata.xml
appdata.path = $$DATADIR/metainfo
INSTALLS += appdata
menuicons.files = $$DIST_PATH/menuicons/*
menuicons.path = $$DATADIR/icons/hicolor
statusIconScalable.files = $$PWD/src/icons/qbittorrent-tray.svg \
$$PWD/src/icons/qbittorrent-tray-dark.svg \
$$PWD/src/icons/qbittorrent-tray-light.svg
statusIconScalable.path = $$DATADIR/icons/hicolor/scalable/status
INSTALLS += \
menuicons \
statusIconScalable
}
# INSTALL
target.path = $$PREFIX/bin
INSTALLS += target
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zh1715700508/qBittorrent-Enhanced-Edition.git
git@gitee.com:zh1715700508/qBittorrent-Enhanced-Edition.git
zh1715700508
qBittorrent-Enhanced-Edition
qBittorrent-Enhanced-Edition
v4_5_x

Search

0d507c66 1850385 C8b1a773 1850385