1
CONFIG += testcase parallel_test
2
TARGET = tst_qresourceengine
5
SOURCES = tst_qresourceengine.cpp
6
RESOURCES += testqrc/test.qrc
8
runtime_resource.target = runtime_resource.rcc
9
runtime_resource.depends = $$PWD/testqrc/test.qrc
10
runtime_resource.commands = $$QMAKE_RCC -root /runtime_resource/ -binary $${runtime_resource.depends} -o $${runtime_resource.target}
11
QMAKE_EXTRA_TARGETS = runtime_resource
12
PRE_TARGETDEPS += $${runtime_resource.target}
18
# Special case needed for runtime_resource.rcc installation,
19
# since it does not exist at qmake runtime.
20
load(testcase) # to get value of target.path
21
runtime_resource_install.CONFIG = no_check_exist
22
runtime_resource_install.files = $$OUT_PWD/$${runtime_resource.target}
23
runtime_resource_install.path = $${target.path}
24
INSTALLS += runtime_resource_install
25
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0