diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-07-09 18:49:37 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-11 21:23:59 +0200 |
commit | d8f65b5924b4cfb4db04f6b913cc3728f26d559a (patch) | |
tree | 649c5bd4d199eeb3f829b3006893209bc5c1c78a /src/imports/testlib | |
parent | 694f783e1b0299d5d74d871ba33d5a1d9ab3452e (diff) |
use centralized qml plugin project handling
Change-Id: I27b773b042560d3a95d943ad942e84d9aaeeba40
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/imports/testlib')
-rw-r--r-- | src/imports/testlib/testlib.pro | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/src/imports/testlib/testlib.pro b/src/imports/testlib/testlib.pro index dfb23cea0c..e94f977abd 100644 --- a/src/imports/testlib/testlib.pro +++ b/src/imports/testlib/testlib.pro @@ -1,30 +1,16 @@ +CXX_MODULE = qml TARGET = qmltestplugin TARGETPATH = QtTest -include(../qimportbase.pri) - -CONFIG += qt plugin QT += qml quick qmltest qmltest-private v8-private qml-private core-private testlib SOURCES += main.cpp -OTHER_FILES += testlib.json - -DESTDIR = $$QT.qml.imports/$$TARGETPATH - -target.path += $$[QT_INSTALL_IMPORTS]/QtTest -OTHER_IMPORT_FILES = \ - qmldir \ +QML_FILES = \ TestCase.qml \ SignalSpy.qml \ testlogger.js -otherImportFiles.files += $$OTHER_IMPORT_FILES +load(qml_plugin) -otherImportFiles.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH - -copy2build.input = OTHER_IMPORT_FILES -copy2build.output = $$QT.qml.imports/$$TARGETPATH/${QMAKE_FILE_BASE}${QMAKE_FILE_EXT} - - -INSTALLS += target otherImportFiles +OTHER_FILES += testlib.json |