QT += declarative-private testlib
macx:CONFIG -= app_bundle
-HEADERS += ../shared/debugutil_p.h \
- ../../../shared/util.h
+HEADERS += ../shared/debugutil_p.h
SOURCES += tst_qdeclarativedebugjs.cpp \
- ../shared/debugutil.cpp \
- ../../../shared/util.cpp
+ ../shared/debugutil.cpp
INCLUDEPATH += ../shared
+include (../../../shared/util.pri)
+
testDataFiles.files = data
testDataFiles.path = .
DEPLOYMENT += testDataFiles
-
CONFIG += parallel_test
OTHER_FILES += data/test.qml data/test.js \
TARGET = tst_qdeclarativedebugtrace
macx:CONFIG -= app_bundle
-HEADERS += ../shared/debugutil_p.h \
- ../../../shared/util.h
+HEADERS += ../shared/debugutil_p.h
SOURCES += tst_qdeclarativedebugtrace.cpp \
- ../shared/debugutil.cpp \
- ../../../shared/util.cpp
-
+ ../shared/debugutil.cpp
OTHER_FILES += data/test.qml
+include (../../../shared/util.pri)
+
CONFIG += parallel_test declarative_debug
QT += declarative-private testlib
TARGET = tst_qv8profilerservice
macx:CONFIG -= app_bundle
-HEADERS += ../shared/debugutil_p.h \
- ../../../shared/util.h
+HEADERS += ../shared/debugutil_p.h
SOURCES += tst_qv8profilerservice.cpp \
- ../shared/debugutil.cpp \
- ../../../shared/util.cpp
+ ../shared/debugutil.cpp
+
+include (../../../shared/util.pri)
OTHER_FILES += data/test.qml
contains(QT_CONFIG,declarative): QT += declarative-private gui network qtquick1-private
macx:CONFIG -= app_bundle
-HEADERS += ../../shared/util.h
-
-SOURCES += tst_qdeclarativeaccessibility.cpp \
- ../../shared/util.cpp
+SOURCES += tst_qdeclarativeaccessibility.cpp
+include (../../shared/util.pri)
OTHER_FILES += data/pushbutton.qml
OTHER_FILES += data/statictext.qml
TARGET = tst_qdeclarativebinding
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativebinding.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativebinding.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qdeclarativecomponent
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativecomponent.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativecomponent.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qdeclarativeconnection
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativeconnection.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativeconnection.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
CONFIG += testcase
TARGET = tst_qdeclarativeconsole
-SOURCES += tst_qdeclarativeconsole.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativeconsole.cpp
+
+include (../../shared/util.pri)
+
macx:CONFIG -= app_bundle
testDataFiles.files = data
CONFIG += testcase
TARGET = tst_qdeclarativecontext
-SOURCES += tst_qdeclarativecontext.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativecontext.cpp
+
+include (../../shared/util.pri)
+
macx:CONFIG -= app_bundle
testDataFiles.files = data
SOURCES += tst_qdeclarativeecmascript.cpp \
testtypes.cpp \
- ../../shared/testhttpserver.cpp \
- ../../shared/util.cpp
+ ../../shared/testhttpserver.cpp
HEADERS += testtypes.h \
- ../../shared/testhttpserver.h \
- ../../shared/util.h
+ ../../shared/testhttpserver.h
INCLUDEPATH += ../../shared
+include (../../shared/util.pri)
+
# QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage
# LIBS += -lgcov
CONFIG += testcase
TARGET = tst_qdeclarativeerror
-SOURCES += tst_qdeclarativeerror.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativeerror.cpp
+
+include (../../shared/util.pri)
+
macx:CONFIG -= app_bundle
CONFIG += parallel_test
TARGET = tst_qdeclarativeexpression
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativeexpression.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativeexpression.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qdeclarativefolderlistmodel
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativefolderlistmodel.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativefolderlistmodel.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
macx:CONFIG -= app_bundle
SOURCES += tst_qdeclarativeincubator.cpp \
- testtypes.cpp \
- ../../shared/util.cpp
+ testtypes.cpp
-HEADERS += testtypes.h \
- ../../shared/util.h
+HEADERS += testtypes.h
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qdeclarativeinfo
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativeinfo.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativeinfo.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qdeclarativelistmodel
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativelistmodel.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativelistmodel.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qdeclarativelistreference
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativelistreference.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativelistreference.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qdeclarativelocale
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativelocale.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativelocale.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
CONFIG += testcase
TARGET = tst_qdeclarativemoduleplugin
-HEADERS = ../../shared/testhttpserver.h \
- ../../shared/util.h
+HEADERS = ../../shared/testhttpserver.h
SOURCES = tst_qdeclarativemoduleplugin.cpp \
- ../../shared/testhttpserver.cpp \
- ../../shared/util.cpp
+ ../../shared/testhttpserver.cpp
CONFIG -= app_bundle
+include (../../shared/util.pri)
+
testDataFiles.files = data
testDataFiles.path = .
DEPLOYMENT += testDataFiles
TARGET = tst_qdeclarativeproperty
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativeproperty.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativeproperty.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
CONFIG += testcase
TARGET = tst_qdeclarativeqt
-SOURCES += tst_qdeclarativeqt.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativeqt.cpp
+
+include (../../shared/util.pri)
macx:CONFIG -= app_bundle
TARGET = tst_qdeclarativesqldatabase
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativesqldatabase.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativesqldatabase.cpp
+
+include (../../shared/util.pri)
CONFIG += parallel_test
TARGET = tst_qdeclarativetranslation
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativetranslation.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativetranslation.cpp
RESOURCES += data/translation.qrc
+include (../../shared/util.pri)
+
testDataFiles.files = data
testDataFiles.path = .
DEPLOYMENT += testDataFiles
TARGET = tst_qdeclarativevaluetypes
macx:CONFIG -= app_bundle
-HEADERS += testtypes.h \
- ../../shared/util.h
+HEADERS += testtypes.h
SOURCES += tst_qdeclarativevaluetypes.cpp \
- testtypes.cpp \
- ../../shared/util.cpp
+ testtypes.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qdeclarativeworkerscript
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativeworkerscript.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativeworkerscript.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
macx:CONFIG -= app_bundle
INCLUDEPATH += ../../shared/
-HEADERS += ../../shared/testhttpserver.h \
- ../../shared/util.h
+HEADERS += ../../shared/testhttpserver.h
SOURCES += tst_qdeclarativexmlhttprequest.cpp \
- ../../shared/testhttpserver.cpp \
- ../../shared/util.cpp
+ ../../shared/testhttpserver.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
macx:CONFIG -= app_bundle
SOURCES += tst_v4.cpp \
- testtypes.cpp \
- ../../shared/util.cpp
-HEADERS += testtypes.h \
- ../../shared/util.h
+ testtypes.cpp
+HEADERS += testtypes.h
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
CONFIG += testcase
TARGET = tst_qdeclarativeanimations
-SOURCES += tst_qdeclarativeanimations.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativeanimations.cpp
+
+include (../../shared/util.pri)
macx:CONFIG -= app_bundle
CONFIG += testcase
TARGET = tst_qdeclarativebehaviors
-SOURCES += tst_qdeclarativebehaviors.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativebehaviors.cpp
+
+include (../../shared/util.pri)
macx:CONFIG -= app_bundle
TARGET = tst_qdeclarativefontloader
macx:CONFIG -= app_bundle
-HEADERS += ../../shared/testhttpserver.h \
- ../../shared/util.h
+HEADERS += ../../shared/testhttpserver.h
SOURCES += tst_qdeclarativefontloader.cpp \
- ../../shared/testhttpserver.cpp \
- ../../shared/util.cpp
+ ../../shared/testhttpserver.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qdeclarativepath
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativepath.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativepath.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
macx:CONFIG -= app_bundle
SOURCES += tst_qdeclarativepixmapcache.cpp \
- ../../shared/testhttpserver.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/testhttpserver.h \
- ../../shared/util.h
+ ../../shared/testhttpserver.cpp
+HEADERS += ../../shared/testhttpserver.h
INCLUDEPATH += ../../shared/
+include (../../shared/util.pri)
+
importFiles.files = data
importFiles.path = .
DEPLOYMENT += importFiles
TARGET = tst_qdeclarativesmoothedanimation
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativesmoothedanimation.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativesmoothedanimation.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qdeclarativespringanimation
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativespringanimation.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativespringanimation.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qdeclarativestates
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativestates.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativestates.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qdeclarativexmllistmodel
macx:CONFIG -= app_bundle
-SOURCES += tst_qdeclarativexmllistmodel.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qdeclarativexmllistmodel.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qquickanchors
CONFIG += testcase
-SOURCES += tst_qquickanchors.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickanchors.cpp
+
+include (../../shared/util.pri)
macx:CONFIG -= app_bundle
CONFIG += testcase
TARGET = tst_qquickanimatedimage
-HEADERS += ../../shared/testhttpserver.h \
- ../../shared/util.h
+HEADERS += ../../shared/testhttpserver.h
SOURCES += tst_qquickanimatedimage.cpp \
- ../../shared/testhttpserver.cpp \
- ../../shared/util.cpp
+ ../../shared/testhttpserver.cpp
+
+include (../../shared/util.pri)
macx:CONFIG -= app_bundle
TARGET = tst_qquickborderimage
macx:CONFIG -= app_bundle
-HEADERS += ../../shared/testhttpserver.h \
- ../../shared/util.h
+HEADERS += ../../shared/testhttpserver.h
SOURCES += tst_qquickborderimage.cpp \
- ../../shared/testhttpserver.cpp \
- ../../shared/util.cpp
+ ../../shared/testhttpserver.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
CONFIG += testcase
TARGET = tst_qquickcanvas
-SOURCES += tst_qquickcanvas.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickcanvas.cpp
+
+include (../../shared/util.pri)
macx:CONFIG -= app_bundle
TARGET = tst_qquickflickable
macx:CONFIG -= app_bundle
-SOURCES += tst_qquickflickable.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickflickable.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qquickflipable
macx:CONFIG -= app_bundle
-SOURCES += tst_qquickflipable.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickflipable.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
CONFIG += testcase
TARGET = tst_qquickfocusscope
-SOURCES += tst_qquickfocusscope.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickfocusscope.cpp
+
+include (../../shared/util.pri)
macx:CONFIG -= app_bundle
TARGET = tst_qquickgridview
macx:CONFIG -= app_bundle
-SOURCES += tst_qquickgridview.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickgridview.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qquickimage
macx:CONFIG -= app_bundle
-HEADERS += ../../shared/testhttpserver.h \
- ../../shared/util.h
+HEADERS += ../../shared/testhttpserver.h
SOURCES += tst_qquickimage.cpp \
- ../../shared/testhttpserver.cpp \
- ../../shared/util.cpp
+ ../../shared/testhttpserver.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
CONFIG += testcase
TARGET = tst_qquickitem
-SOURCES += tst_qquickitem.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickitem.cpp
+
+include (../../shared/util.pri)
macx:CONFIG -= app_bundle
TARGET = tst_qquickitem2
macx:CONFIG -= app_bundle
-SOURCES += tst_qquickitem.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickitem.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qquicklistview
macx:CONFIG -= app_bundle
-HEADERS += incrementalmodel.h \
- ../../shared/util.h
+HEADERS += incrementalmodel.h
SOURCES += tst_qquicklistview.cpp \
- incrementalmodel.cpp \
- ../../shared/util.cpp
+ incrementalmodel.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
macx:CONFIG -= app_bundle
INCLUDEPATH += ../../shared/
-HEADERS += ../../shared/testhttpserver.h \
- ../../shared/util.h
+HEADERS += ../../shared/testhttpserver.h
SOURCES += tst_qquickloader.cpp \
- ../../shared/testhttpserver.cpp \
- ../../shared/util.cpp
+ ../../shared/testhttpserver.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qquickmousearea
macx:CONFIG -= app_bundle
-HEADERS += ../../shared/testhttpserver.h \
- ../../shared/util.h
+HEADERS += ../../shared/testhttpserver.h
SOURCES += tst_qquickmousearea.cpp \
- ../../shared/testhttpserver.cpp \
- ../../shared/util.cpp
+ ../../shared/testhttpserver.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qquickpathview
macx:CONFIG -= app_bundle
-SOURCES += tst_qquickpathview.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickpathview.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qquickpincharea
macx:CONFIG -= app_bundle
-SOURCES += tst_qquickpincharea.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickpincharea.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
CONFIG += testcase
TARGET = tst_qquickpositioners
-SOURCES += tst_qquickpositioners.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickpositioners.cpp
+
+include (../../shared/util.pri)
macx:CONFIG -= app_bundle
TARGET = tst_qquickrepeater
macx:CONFIG -= app_bundle
-SOURCES += tst_qquickrepeater.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickrepeater.cpp
+
+include (../../shared/util.pri)
testFiles.files = data
testFiles.path = .
CONFIG += testcase
TARGET = tst_qquickscreen
-SOURCES += tst_qquickscreen.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickscreen.cpp
+
+include (../../shared/util.pri)
macx:CONFIG -= app_bundle
CONFIG += testcase
TARGET = tst_qquickspriteimage
-SOURCES += tst_qquickspriteimage.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickspriteimage.cpp
+
+include (../../shared/util.pri)
macx:CONFIG -= app_bundle
SOURCES += tst_qquicktext.cpp
INCLUDEPATH += ../../shared/
-HEADERS += ../../shared/testhttpserver.h \
- ../../shared/util.h
-SOURCES += ../../shared/testhttpserver.cpp \
- ../../shared/util.cpp
+HEADERS += ../../shared/testhttpserver.h
+SOURCES += ../../shared/testhttpserver.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
macx:CONFIG -= app_bundle
SOURCES += tst_qquicktextedit.cpp \
- ../../shared/testhttpserver.cpp \
- ../../shared/util.cpp
+ ../../shared/testhttpserver.cpp
-HEADERS += ../../shared/testhttpserver.h \
- ../../shared/util.h
+HEADERS += ../../shared/testhttpserver.h
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qquicktextinput
macx:CONFIG -= app_bundle
-SOURCES += tst_qquicktextinput.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquicktextinput.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qquickview
macx:CONFIG -= app_bundle
-SOURCES += tst_qquickview.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickview.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
TARGET = tst_qquickvisualdatamodel
macx:CONFIG -= app_bundle
-SOURCES += tst_qquickvisualdatamodel.cpp \
- ../../shared/util.cpp
-HEADERS += ../../shared/util.h
+SOURCES += tst_qquickvisualdatamodel.cpp
+
+include (../../shared/util.pri)
testDataFiles.files = data
testDataFiles.path = .
QDeclarativeDataTest *QDeclarativeDataTest::m_instance = 0;
QDeclarativeDataTest::QDeclarativeDataTest() :
- m_dataDirectory(QFINDTESTDATA("data")),
+#ifdef QT_TESTCASE_BUILDDIR
+ m_dataDirectory(QTest::qFindTestData("data", QT_DECLARATIVETEST_DATADIR, 0, QT_TESTCASE_BUILDDIR)),
+#else
+ m_dataDirectory(QTest::qFindTestData("data", QT_DECLARATIVETEST_DATADIR, 0)),
+#endif
+
m_dataDirectoryUrl(QUrl::fromLocalFile(m_dataDirectory + QLatin1Char('/')))
{
m_instance = this;
--- /dev/null
+
+HEADERS += $$PWD/util.h
+SOURCES += $$PWD/util.cpp
+
+DEFINES += QT_DECLARATIVETEST_DATADIR=\\\"$${_PRO_FILE_PWD_}/data\\\"