mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-08 12:54:27 +00:00
Further project file clean up
This commit is contained in:
parent
c9ff34af8d
commit
b7ae2eabc7
2
configure
vendored
2
configure
vendored
@ -534,7 +534,7 @@ public:
|
|||||||
QString version, libs, other;
|
QString version, libs, other;
|
||||||
VersionMode mode = VersionMin;
|
VersionMode mode = VersionMin;
|
||||||
if(conf->findPkgConfig("libnotify", mode, req_ver, &version, &incs, &libs, &other)) {
|
if(conf->findPkgConfig("libnotify", mode, req_ver, &version, &incs, &libs, &other)) {
|
||||||
conf->addDefine("WITH_LIBNOTIFY");
|
conf->addExtra("CONFIG += libnotify");
|
||||||
for(int n = 0; n < incs.count(); ++n)
|
for(int n = 0; n < incs.count(); ++n)
|
||||||
conf->addIncludePath(incs[n]);
|
conf->addIncludePath(incs[n]);
|
||||||
if(!libs.isEmpty())
|
if(!libs.isEmpty())
|
||||||
|
@ -24,7 +24,7 @@ public:
|
|||||||
QString version, libs, other;
|
QString version, libs, other;
|
||||||
VersionMode mode = VersionMin;
|
VersionMode mode = VersionMin;
|
||||||
if(conf->findPkgConfig("libnotify", mode, req_ver, &version, &incs, &libs, &other)) {
|
if(conf->findPkgConfig("libnotify", mode, req_ver, &version, &incs, &libs, &other)) {
|
||||||
conf->addDefine("WITH_LIBNOTIFY");
|
conf->addExtra("CONFIG += libnotify");
|
||||||
for(int n = 0; n < incs.count(); ++n)
|
for(int n = 0; n < incs.count(); ++n)
|
||||||
conf->addIncludePath(incs[n]);
|
conf->addIncludePath(incs[n]);
|
||||||
if(!libs.isEmpty())
|
if(!libs.isEmpty())
|
||||||
|
@ -4,6 +4,10 @@ QMAKE_LFLAGS_APP += -rdynamic
|
|||||||
CONFIG += link_pkgconfig
|
CONFIG += link_pkgconfig
|
||||||
PKGCONFIG += libtorrent-rasterbar
|
PKGCONFIG += libtorrent-rasterbar
|
||||||
|
|
||||||
|
libnotify {
|
||||||
|
DEFINES += WITH_LIBNOTIFY
|
||||||
|
}
|
||||||
|
|
||||||
# Man page
|
# Man page
|
||||||
nox {
|
nox {
|
||||||
man.files = ../doc/qbittorrent-nox.1
|
man.files = ../doc/qbittorrent-nox.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user