summaryrefslogtreecommitdiffstats
path: root/tests/manual/inputmethodhints
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/inputmethodhints
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/inputmethodhints')
-rw-r--r--tests/manual/inputmethodhints/inputmethodhints.h4
-rw-r--r--tests/manual/inputmethodhints/inputmethodhints.pro3
-rw-r--r--tests/manual/inputmethodhints/main.cpp2
3 files changed, 4 insertions, 5 deletions
diff --git a/tests/manual/inputmethodhints/inputmethodhints.h b/tests/manual/inputmethodhints/inputmethodhints.h
index 4746c9a11a..82d3e7290e 100644
--- a/tests/manual/inputmethodhints/inputmethodhints.h
+++ b/tests/manual/inputmethodhints/inputmethodhints.h
@@ -42,8 +42,8 @@
#ifndef INPUTMETHODHINTS_H
#define INPUTMETHODHINTS_H
-#include <QtGui/QMainWindow>
-#include "ui_tst_inputmethodhints.h"
+#include <QtWidgets/QMainWindow>
+#include "ui_inputmethodhints.h"
class inputmethodhints : public QMainWindow
{
diff --git a/tests/manual/inputmethodhints/inputmethodhints.pro b/tests/manual/inputmethodhints/inputmethodhints.pro
index 171c5f1772..f253f72332 100644
--- a/tests/manual/inputmethodhints/inputmethodhints.pro
+++ b/tests/manual/inputmethodhints/inputmethodhints.pro
@@ -1,8 +1,7 @@
TEMPLATE = app
TARGET = tst_inputmethodhints
-QT += core \
- gui
+QT += widgets
HEADERS += inputmethodhints.h
SOURCES += main.cpp \
diff --git a/tests/manual/inputmethodhints/main.cpp b/tests/manual/inputmethodhints/main.cpp
index af3286df73..fcd6d16892 100644
--- a/tests/manual/inputmethodhints/main.cpp
+++ b/tests/manual/inputmethodhints/main.cpp
@@ -41,7 +41,7 @@
#include "inputmethodhints.h"
-#include <QtGui>
+#include <QtWidgets>
#include <QApplication>
int main(int argc, char *argv[])