summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Laing <david.laing@nokia.com>2011-10-27 15:52:18 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-27 09:06:00 +0200
commit07167556a5b74e15528209bc975d3f403bdde93c (patch)
treef72559e2e67c154b38bcccd1c974f994fe9af23f /tests
parentc9afa6b6531855ca28c9e3852f8cf1bbaced0f44 (diff)
downloadqtlocation-07167556a5b74e15528209bc975d3f403bdde93c.tar.gz
Changes the rendering of map items to use textures-per-tile.
Also separates out MapItem and MapItemTree into separate files, since one class is meant to be public and one is meant to be private. Change-Id: I94e2f75b836ee4baa1aba0fe8a0eb51e8aa7d416 Reviewed-by: Juha Vuolle <juha.vuolle@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/mapitemtree/mapitemtree.pro1
-rw-r--r--tests/auto/mapitemtree/tst_mapitemtree.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/mapitemtree/mapitemtree.pro b/tests/auto/mapitemtree/mapitemtree.pro
index 367d4eb3..ca86f981 100644
--- a/tests/auto/mapitemtree/mapitemtree.pro
+++ b/tests/auto/mapitemtree/mapitemtree.pro
@@ -2,6 +2,7 @@ TEMPLATE = app
CONFIG += testcase
TARGET = tst_mapitemtree
+INCLUDEPATH = ../../../src/location/mapsgl
SOURCES += tst_mapitemtree.cpp
QT += location testlib
diff --git a/tests/auto/mapitemtree/tst_mapitemtree.cpp b/tests/auto/mapitemtree/tst_mapitemtree.cpp
index 083cc152..a0708d2f 100644
--- a/tests/auto/mapitemtree/tst_mapitemtree.cpp
+++ b/tests/auto/mapitemtree/tst_mapitemtree.cpp
@@ -42,6 +42,7 @@
#include <QtTest/QtTest>
#include <mapitem.h>
+#include "mapitemtree_p.h"
#include <QSet>
#include <QHash>