summaryrefslogtreecommitdiff
path: root/tests/plugins
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2012-08-06 13:20:46 +1000
committerQt by Nokia <qt-info@nokia.com>2012-08-06 05:58:58 +0200
commit7049a48031879edb8bc316fd87517d295eeeb668 (patch)
tree86b3f72bc0153dad969d63a75f7f0291c7ce1fb8 /tests/plugins
parent5f36cfdbdeb916582f398951942c9189bbb49616 (diff)
downloadqtlocation-7049a48031879edb8bc316fd87517d295eeeb668.tar.gz
Fix compile.
Change-Id: I380cdded91db97efc190e5c000ee618ac6d6fae5 Reviewed-by: abcd <amos.choy@nokia.com>
Diffstat (limited to 'tests/plugins')
-rw-r--r--tests/plugins/declarativetestplugin/declarativetestplugin.pro2
-rw-r--r--tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/plugins/declarativetestplugin/declarativetestplugin.pro b/tests/plugins/declarativetestplugin/declarativetestplugin.pro
index 78438569..7c3cc12e 100644
--- a/tests/plugins/declarativetestplugin/declarativetestplugin.pro
+++ b/tests/plugins/declarativetestplugin/declarativetestplugin.pro
@@ -2,7 +2,7 @@ CXX_MODULE = location
TARGET = declarative_location_test
TARGETPATH = QtLocation/test
-QT += qml quick location testlib
+QT += gui-private qml quick location testlib
INCLUDEPATH += ../../../src/imports/location
INCLUDEPATH += ../../../src/location
diff --git a/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp b/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp
index 4f4ad68b..8f4de11b 100644
--- a/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp
+++ b/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp
@@ -39,9 +39,11 @@
**
****************************************************************************/
-#include <QtTest/QtTest>
#include "qdeclarativepinchgenerator_p.h"
+
+#include <QtTest/QtTest>
#include <QtGui/QGuiApplication>
+#include <QtGui/qpa/qwindowsysteminterface.h>
QDeclarativePinchGenerator::QDeclarativePinchGenerator():
target_(0),