summaryrefslogtreecommitdiff
path: root/tests/auto/qquickxmllistmodel/qquickxmllistmodel.pro
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-06-29 22:16:34 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-07-01 10:38:00 +0200
commit47c86cbb55a03df0f9d95dc2311b0be6d7852a5b (patch)
tree6cc56042980eae95994dcaf2c3f50b52a7cf6dbe /tests/auto/qquickxmllistmodel/qquickxmllistmodel.pro
parentce43c8f6270518d801d91124ea1f32309c8e119d (diff)
downloadqtxmlpatterns-47c86cbb55a03df0f9d95dc2311b0be6d7852a5b.tar.gz
Actually test XmlListModel
Due to a typo in 'SUBDIRS', the test was never added to the build. Adding tests/shared/util.* from (current) qtdeclarative, adjusting paths and eradicating Q_FOREACHs, as the module defines QT_NO_FOREACH. Amends 8c6e24329ecd65f364654b1ca2b6a273f0826a8b. Change-Id: Ifacec982e8628c1317b1d7cc5c454c0a2cfafba1 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qquickxmllistmodel/qquickxmllistmodel.pro')
-rw-r--r--tests/auto/qquickxmllistmodel/qquickxmllistmodel.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/qquickxmllistmodel/qquickxmllistmodel.pro b/tests/auto/qquickxmllistmodel/qquickxmllistmodel.pro
index e2d873c..2c7eacc 100644
--- a/tests/auto/qquickxmllistmodel/qquickxmllistmodel.pro
+++ b/tests/auto/qquickxmllistmodel/qquickxmllistmodel.pro
@@ -3,8 +3,10 @@ TARGET = tst_qquickxmllistmodel
macos:CONFIG -= app_bundle
SOURCES += tst_qquickxmllistmodel.cpp \
- ../../../../src/imports/xmllistmodel/qqmlxmllistmodel.cpp
-HEADERS += ../../../../src/imports/xmllistmodel/qqmlxmllistmodel_p.h
+ $$PWD/../../../src/imports/xmllistmodel/qqmlxmllistmodel.cpp
+HEADERS += $$PWD/../../../src/imports/xmllistmodel/qqmlxmllistmodel_p.h
+
+INCLUDEPATH *= $$PWD/../../../src/imports/xmllistmodel
include (../../shared/util.pri)