aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/qmlplugindump/tests/dumper/Versions/versions.pro
diff options
context:
space:
mode:
authorMarco Benelli <marco.benelli@theqtcompany.com>2015-11-20 17:14:25 +0100
committerMarco Benelli <marco.benelli@theqtcompany.com>2015-12-10 14:48:59 +0000
commit5f96bc07389382d534934120301c2d1a89d24657 (patch)
tree5dbf09e32de5cb278e76ccbac8f2def6af4b7b91 /tests/manual/qmlplugindump/tests/dumper/Versions/versions.pro
parent177050862e644f9a279086b703cb04e06ea409b8 (diff)
qmlplugindump: add manual tests.v5.6.0-beta1
Added a small test infrastructure in order to run tests on sample projects and quickly define new test cases. Running tests will also compile (and clean) sample tests. Change-Id: Ibd0e48201dafe335198479d605d676ca5b753566 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'tests/manual/qmlplugindump/tests/dumper/Versions/versions.pro')
-rw-r--r--tests/manual/qmlplugindump/tests/dumper/Versions/versions.pro35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/manual/qmlplugindump/tests/dumper/Versions/versions.pro b/tests/manual/qmlplugindump/tests/dumper/Versions/versions.pro
new file mode 100644
index 0000000000..951f886368
--- /dev/null
+++ b/tests/manual/qmlplugindump/tests/dumper/Versions/versions.pro
@@ -0,0 +1,35 @@
+TEMPLATE = lib
+TARGET = Versions
+QT += qml quick
+CONFIG += qt plugin
+
+TARGET = $$qtLibraryTarget($$TARGET)
+uri = tests.dumper.Versions
+
+# Input
+SOURCES += \
+ versions_plugin.cpp \
+ versions.cpp
+
+HEADERS += \
+ versions_plugin.h \
+ versions.h
+
+DISTFILES = qmldir
+
+!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
+ copy_qmldir.target = $$OUT_PWD/qmldir
+ copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
+ copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
+ QMAKE_EXTRA_TARGETS += copy_qmldir
+ PRE_TARGETDEPS += $$copy_qmldir.target
+}
+
+qmldir.files = qmldir
+unix {
+ installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
+ qmldir.path = $$installPath
+ target.path = $$installPath
+ INSTALLS += target qmldir
+}
+