diff options
author | Marco Benelli <marco.benelli@theqtcompany.com> | 2015-11-20 17:14:25 +0100 |
---|---|---|
committer | Marco Benelli <marco.benelli@theqtcompany.com> | 2015-12-10 14:48:59 +0000 |
commit | 5f96bc07389382d534934120301c2d1a89d24657 (patch) | |
tree | 5dbf09e32de5cb278e76ccbac8f2def6af4b7b91 /tests/manual/qmlplugindump/tests/dumper/Imports/imports.pro | |
parent | 177050862e644f9a279086b703cb04e06ea409b8 (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/Imports/imports.pro')
-rw-r--r-- | tests/manual/qmlplugindump/tests/dumper/Imports/imports.pro | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/manual/qmlplugindump/tests/dumper/Imports/imports.pro b/tests/manual/qmlplugindump/tests/dumper/Imports/imports.pro new file mode 100644 index 0000000000..fe9caea13a --- /dev/null +++ b/tests/manual/qmlplugindump/tests/dumper/Imports/imports.pro @@ -0,0 +1,35 @@ +TEMPLATE = lib +TARGET = Imports +QT += qml quick +CONFIG += qt plugin + +TARGET = $$qtLibraryTarget($$TARGET) +uri = tests.dumper.Imports + +# Input +SOURCES += \ + imports_plugin.cpp \ + imports.cpp + +HEADERS += \ + imports_plugin.h \ + imports.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 +} + |