forked from mumble-voip/mumble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrcc.pri
27 lines (24 loc) · 932 Bytes
/
rcc.pri
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
# Use a custom tool to query for RCC dependencies.
# Qt's regular invocation of "rcc -list" doesn't work with
# .qrc files that contain references to non-existent files.
# Our .qrc files do that, because we auto-generate some of
# the files at make-time.
# Override RCC_DIR to be 'debug' or 'release'.
# We have to do this because we're loading the
# 'resources' feature a bit earlier than usual.
# By default, Qt would have set these itself.
CONFIG(debug, debug|release) {
RCC_DIR = debug
}
CONFIG(release, debug|release) {
RCC_DIR = release
}
load(resources)
win32 {
WINPWD = $$shell_path($${PWD})
RCC_DEPENDS = $$escape_expand(\")$${WINPWD}\scripts\rcc-depends.py$$escape_expand(\")
rcc.depend_command = python $${RCC_DEPENDS} ${QMAKE_FILE_IN}
} else {
RCC_DEPENDS = $$escape_expand(\")$${PWD}/scripts/rcc-depends.py$$escape_expand(\")
rcc.depend_command = $${RCC_DEPENDS} ${QMAKE_FILE_IN}
}