summaryrefslogtreecommitdiffstats
path: root/tests/manual/qgraphicslayout
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/qgraphicslayout
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/qgraphicslayout')
-rw-r--r--tests/manual/qgraphicslayout/flicker/flicker.pro1
-rw-r--r--tests/manual/qgraphicslayout/flicker/main.cpp3
-rw-r--r--tests/manual/qgraphicslayout/flicker/window.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/manual/qgraphicslayout/flicker/flicker.pro b/tests/manual/qgraphicslayout/flicker/flicker.pro
index 2e09826022..d800418f85 100644
--- a/tests/manual/qgraphicslayout/flicker/flicker.pro
+++ b/tests/manual/qgraphicslayout/flicker/flicker.pro
@@ -1,2 +1,3 @@
+QT += widgets
HEADERS += window.h
SOURCES += main.cpp window.cpp
diff --git a/tests/manual/qgraphicslayout/flicker/main.cpp b/tests/manual/qgraphicslayout/flicker/main.cpp
index e71915c22f..2947930895 100644
--- a/tests/manual/qgraphicslayout/flicker/main.cpp
+++ b/tests/manual/qgraphicslayout/flicker/main.cpp
@@ -39,8 +39,7 @@
**
****************************************************************************/
-#include <QtGui>
-#include <windows.h>
+#include <QtWidgets>
#include "window.h"
int main(int argc, char **argv)
diff --git a/tests/manual/qgraphicslayout/flicker/window.h b/tests/manual/qgraphicslayout/flicker/window.h
index 4930381641..3b032c3b45 100644
--- a/tests/manual/qgraphicslayout/flicker/window.h
+++ b/tests/manual/qgraphicslayout/flicker/window.h
@@ -43,7 +43,7 @@
#define WINDOW_H
-#include <QtGui>
+#include <QtWidgets>
struct Statistics {
Statistics() : output(0),