Skip to content

Commit eabda8e

Browse files
author
Christophe Dumez
committed
Clean up project file
1 parent b09b1bb commit eabda8e

2 files changed

Lines changed: 21 additions & 25 deletions

File tree

src/src.pro

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,28 @@
22
TEMPLATE = app
33
CONFIG += qt thread
44

5+
# Windows specific configuration
6+
win32 {
7+
include(../winconf.pri)
8+
}
9+
10+
# Mac specific configuration
11+
macx {
12+
include(../macxconf.pri)
13+
}
14+
15+
# Unix specific configuration
516
unix:!macx {
6-
exists(../conf.pri) {
7-
# generated by configure
8-
include(../conf.pri)
9-
}
17+
include(../unixconf.pri)
18+
}
19+
20+
# eCS(OS/2) specific configuration
21+
os2 {
22+
include(../os2conf.pri)
1023
}
1124

1225
nox {
13-
QT = core
26+
QT -= gui
1427
TARGET = qbittorrent-nox
1528
DEFINES += DISABLE_GUI
1629
} else {
@@ -35,26 +48,6 @@ CONFIG(release, debug|release):message(Project is built in RELEASE mode.)
3548
# VERSION DEFINES
3649
include(../version.pri)
3750

38-
# Windows specific configuration
39-
win32 {
40-
include(../winconf.pri)
41-
}
42-
43-
# Mac specific configuration
44-
macx {
45-
include(../macxconf.pri)
46-
}
47-
48-
# Unix specific configuration
49-
unix:!macx {
50-
include(../unixconf.pri)
51-
}
52-
53-
# eCS(OS/2) specific configuration
54-
os2 {
55-
include(../os2conf.pri)
56-
}
57-
5851
DEFINES += QT_NO_CAST_TO_ASCII
5952
# Fast concatenation (Qt >= 4.6)
6053
DEFINES += QT_USE_FAST_CONCATENATION QT_USE_FAST_OPERATOR_PLUS

unixconf.pri

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Generated by the configure file
2+
include(../conf.pri)
3+
14
# COMPILATION SPECIFIC
25
QT += dbus
36
QMAKE_LFLAGS_APP += -rdynamic

0 commit comments

Comments
 (0)