~ubuntu-branches/ubuntu/wily/qtbase-opensource-src/wily

« back to all changes in this revision

Viewing changes to tests/auto/corelib/io/qresourceengine/qresourceengine.pro

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2013-02-05 12:46:17 UTC
  • Revision ID: package-import@ubuntu.com-20130205124617-c8jouts182j002fx
Tags: upstream-5.0.1+dfsg
ImportĀ upstreamĀ versionĀ 5.0.1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CONFIG += testcase parallel_test
 
2
TARGET = tst_qresourceengine
 
3
load(resources)
 
4
QT = core testlib
 
5
SOURCES = tst_qresourceengine.cpp
 
6
RESOURCES += testqrc/test.qrc
 
7
 
 
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}
 
13
 
 
14
TESTDATA += \
 
15
    parentdir.txt \
 
16
    testqrc/*
 
17
 
 
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