From 5ac4a1304b44283bb0ddf593b08e7e44ed9a107f Mon Sep 17 00:00:00 2001 From: Paul Olav Tvete Date: Thu, 26 Jul 2012 18:48:56 +0200 Subject: Make tests compile without gui-private Add new qt_handleXXX functions that forward to the QWindowSystemInterface functions, and use those in the testlib inline functions. Remove use of struct QWindowSystemInterface::TouchPoint from the testlib header files (requiring some slight increase in ugliness in the two tests that use that struct). Also remove the qmake hack that adds private headers to all tests Change-Id: Iec23537e55a44802f6e9cd463f7a0f82007c5250 Reviewed-by: Paul Olav Tvete --- tests/auto/other/gestures/gestures.pro | 2 +- tests/auto/other/gestures/tst_gestures.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/auto/other/gestures') diff --git a/tests/auto/other/gestures/gestures.pro b/tests/auto/other/gestures/gestures.pro index a4e78ef4b4..fa87dbddfb 100644 --- a/tests/auto/other/gestures/gestures.pro +++ b/tests/auto/other/gestures/gestures.pro @@ -1,5 +1,5 @@ CONFIG += testcase TARGET = tst_gestures -QT += widgets testlib +QT += widgets testlib gui-private SOURCES += tst_gestures.cpp DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/other/gestures/tst_gestures.cpp b/tests/auto/other/gestures/tst_gestures.cpp index db10877b8a..fb27df5555 100644 --- a/tests/auto/other/gestures/tst_gestures.cpp +++ b/tests/auto/other/gestures/tst_gestures.cpp @@ -52,6 +52,7 @@ #include #include #include +#include #include -- cgit v1.2.3