TARGETPATH = QtTest
include(../qimportbase.pri)
+
CONFIG += qt plugin
symbian {
} else {
TARGET.CAPABILITY = All -Tcb
}
+
+ isEmpty(DESTDIR):importFiles.files = qmltestplugin$${QT_LIBINFIX}.dll qmldir
+ else:importFiles.files = $$DESTDIR/qmltestplugin$${QT_LIBINFIX}.dll qmldir
+ importFiles.path = $$QT_IMPORTS_BASE_DIR/$$TARGETPATH
+
+ DEPLOYMENT = importFiles
+
}
QT += declarative script qmltest qmltest-private
SOURCES += main.cpp
HEADERS +=
-qdeclarativesources.files += \
+DESTDIR = $$QT.declarative.imports/$$TARGETPATH
+
+target.path += $$[QT_INSTALL_IMPORTS]/QtTest
+OTHER_IMPORT_FILES = \
qmldir \
TestCase.qml \
SignalSpy.qml \
testlogger.js
-qdeclarativesources.path += $$[QT_INSTALL_IMPORTS]/QtTest
-target.path += $$[QT_INSTALL_IMPORTS]/QtTest
-INSTALLS += qdeclarativesources target
+otherImportFiles.files += $$OTHER_IMPORT_FILES
+
+otherImportFiles.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
+
+copy2build.input = OTHER_IMPORT_FILES
+copy2build.output = $$QT.declarative.imports/$$TARGETPATH/${QMAKE_FILE_NAME}
+
+
+INSTALLS += target otherImportFiles