diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-10-25 11:31:53 +0200 |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-10-25 11:31:53 +0200 |
commit | 79ab0a667e9d9d11cc1de0f3ed21a37f5c2909ee (patch) | |
tree | defc8568b03b974ec7b306f9e32dab38d97951e9 /tests/auto/jsondb-listmodel/jsondb-listmodel.pro |
Long live QtJsonDb!
Diffstat (limited to 'tests/auto/jsondb-listmodel/jsondb-listmodel.pro')
-rw-r--r-- | tests/auto/jsondb-listmodel/jsondb-listmodel.pro | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/auto/jsondb-listmodel/jsondb-listmodel.pro b/tests/auto/jsondb-listmodel/jsondb-listmodel.pro new file mode 100644 index 00000000..16ee012f --- /dev/null +++ b/tests/auto/jsondb-listmodel/jsondb-listmodel.pro @@ -0,0 +1,23 @@ +TEMPLATE = app +TARGET = tst_jsondb-listmodel +DEPENDPATH += . +INCLUDEPATH += . + +QT = core network testlib declarative jsondb-private jsondbqson-private +CONFIG -= app_bundle + +include($$PWD/../../../src/3rdparty/qjson/qjson.pri) + +DEFINES += JSONDB_DAEMON_BASE=\\\"$$QT.jsondb.bins\\\" +DEFINES += SRCDIR=\\\"$$PWD/\\\" + +INCLUDEPATH += $$PWD/../../../src/imports/jsondb +HEADERS += $$PWD/../../../src/imports/jsondb/jsondb-listmodel.h +SOURCES += $$PWD/../../../src/imports/jsondb/jsondb-listmodel.cpp + +HEADERS += test-jsondb-listmodel.h +SOURCES += test-jsondb-listmodel.cpp + +check.target = check +check.commands = rm -f *.db* && LD_LIBRARY_PATH=$$PWD/../../../lib QT_QPA_PLATFORM=minimal ./tst_jsondb-listmodel -xunitxml -silent > ../../../tst_jsondb-listmodel.xml +QMAKE_EXTRA_TARGETS = check |