summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_build_extra.prf
blob: a346525e660b5e70823ba81e519c83620f34bf47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
#  W A R N I N G
#  -------------
#
# This file is not part of the Qt API.  It exists purely as an
# implementation detail.  It may change from version to version
# without notice, or even be removed.
#
# We mean it.
#

equals(TEMPLATE, subdirs): return()

# It's likely that these extra flags will be wrong for host builds,
# and the bootstrapped tools usually don't need them anyway.
host_build:force_bootstrap: return()

# The headersclean check needs defines and includes even for
# header-only modules.
DEFINES += $$EXTRA_DEFINES
INCLUDEPATH += $$EXTRA_INCLUDEPATH

# The other flags are relevant only for actual libraries.
equals(TEMPLATE, aux): return()

LIBS += $$EXTRA_LIBS

# Static libs need no rpaths
static: return()

QMAKE_RPATHDIR += $$EXTRA_RPATHS