aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/testlib/testlib.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/testlib/testlib.pro')
-rw-r--r--src/imports/testlib/testlib.pro22
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