diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-12-03 08:16:33 +1000 |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-12-03 09:41:23 +1000 |
commit | a1f706e45bce11fba38d5f557660617654899ef9 (patch) | |
tree | 3d246c9acf856e955622111b5a89bfbfbc897725 /src/imports/testlib/testlib.pro | |
parent | a112fc850822d98fb546ca7eb6e9829b4d7d3542 (diff) |
Backport Qt3D.Test and make it generic again
Diffstat (limited to 'src/imports/testlib/testlib.pro')
-rw-r--r-- | src/imports/testlib/testlib.pro | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/imports/testlib/testlib.pro b/src/imports/testlib/testlib.pro new file mode 100644 index 0000000..341d576 --- /dev/null +++ b/src/imports/testlib/testlib.pro @@ -0,0 +1,35 @@ +TEMPLATE = lib +TARGET = qmltestplugin +CONFIG += qt plugin + +symbian { + CONFIG += epocallowdlldata + contains(QT_EDITION, OpenSource) { + TARGET.CAPABILITY = LocalServices NetworkServices ReadUserData UserEnvironment WriteUserData + } else { + TARGET.CAPABILITY = All -Tcb + } +} + +QT += declarative + +INCLUDEPATH += $$PWD/../../quicktestlib + +SOURCES += main.cpp +HEADERS += + +qdeclarativesources.files += \ + qmldir \ + TestCase.qml \ + testlogger.js + +qdeclarativesources.path += $$[QT_INSTALL_IMPORTS]/QtTest +target.path += $$[QT_INSTALL_IMPORTS]/QtTest +INSTALLS += qdeclarativesources target + +LIBS += -L../../../lib -L../../../bin +win32:CONFIG(debug, debug|release) { + LIBS += -lQtTestQuick$${QT_LIBINFIX}d +} else { + LIBS += -lQtTestQuick$${QT_LIBINFIX} +} |