summaryrefslogtreecommitdiffstats
path: root/tests/manual/qtabletevent
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-04-12 12:56:20 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-12 14:50:39 +0200
commit28675642f3445e41434b004c2a1a1d96ec0145a2 (patch)
tree8a26692b9eba13a416aa16bdc82acc1dc3082e0c /tests/manual/qtabletevent
parent7ed1ab9076866d39a086fb1d364ab1903afc9a91 (diff)
Build manual tests.
Add a toplevel manual.pro and other .pro-files to build them and fix the build. Change-Id: Ibc98a27b39dd1304edfa8a6894d62e77ce7ef387 Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'tests/manual/qtabletevent')
-rw-r--r--tests/manual/qtabletevent/device_information/device_information.pro (renamed from tests/manual/qtabletevent/device_information/qtabletevent.pro)1
-rw-r--r--tests/manual/qtabletevent/device_information/main.cpp2
-rw-r--r--tests/manual/qtabletevent/event_compression/event_compression.pro2
-rw-r--r--tests/manual/qtabletevent/qtabletevent.pro5
-rw-r--r--tests/manual/qtabletevent/regular_widgets/regular_widgets.pro1
5 files changed, 9 insertions, 2 deletions
diff --git a/tests/manual/qtabletevent/device_information/qtabletevent.pro b/tests/manual/qtabletevent/device_information/device_information.pro
index 8251d73094..727ad34bc1 100644
--- a/tests/manual/qtabletevent/device_information/qtabletevent.pro
+++ b/tests/manual/qtabletevent/device_information/device_information.pro
@@ -1,3 +1,4 @@
+QT += widgets
SOURCES += \
main.cpp \
tabletwidget.cpp
diff --git a/tests/manual/qtabletevent/device_information/main.cpp b/tests/manual/qtabletevent/device_information/main.cpp
index b4eea7875b..e551ae7d8a 100644
--- a/tests/manual/qtabletevent/device_information/main.cpp
+++ b/tests/manual/qtabletevent/device_information/main.cpp
@@ -39,7 +39,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QApplication>
#include "tabletwidget.h"
int main(int argc, char **argv) {
diff --git a/tests/manual/qtabletevent/event_compression/event_compression.pro b/tests/manual/qtabletevent/event_compression/event_compression.pro
index fd2521e44f..15650d6190 100644
--- a/tests/manual/qtabletevent/event_compression/event_compression.pro
+++ b/tests/manual/qtabletevent/event_compression/event_compression.pro
@@ -1,4 +1,4 @@
-QT += testlib
+QT += widgets testlib
SOURCES += main.cpp \
mousestatwidget.cpp
diff --git a/tests/manual/qtabletevent/qtabletevent.pro b/tests/manual/qtabletevent/qtabletevent.pro
new file mode 100644
index 0000000000..9e9fc39654
--- /dev/null
+++ b/tests/manual/qtabletevent/qtabletevent.pro
@@ -0,0 +1,5 @@
+TEMPLATE=subdirs
+
+SUBDIRS = device_information \
+ event_compression \
+ regular_widgets
diff --git a/tests/manual/qtabletevent/regular_widgets/regular_widgets.pro b/tests/manual/qtabletevent/regular_widgets/regular_widgets.pro
index 9f0da76c11..8f1f4342ee 100644
--- a/tests/manual/qtabletevent/regular_widgets/regular_widgets.pro
+++ b/tests/manual/qtabletevent/regular_widgets/regular_widgets.pro
@@ -1,3 +1,4 @@
TEMPLATE = app
+QT += widgets
SOURCES += main.cpp