summaryrefslogtreecommitdiffstats
path: root/examples/qtestlib
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-05-07 22:57:49 +0200
committerLars Knoll <lars.knoll@nokia.com>2011-05-07 22:57:49 +0200
commite510b6e4661f256a736b1eff42b4b7586acef788 (patch)
treee727e3df4ac98feb4fe6ef550ae39492c2843b66 /examples/qtestlib
parent9474f82f8a4ca4abfc349c17debd84f26148fc20 (diff)
include fixes
Fixed the include statements added QT+=widgets in examples/network to get them to compile. Will need something better than doing it manually.
Diffstat (limited to 'examples/qtestlib')
-rw-r--r--examples/qtestlib/tutorial3/testgui.cpp2
-rw-r--r--examples/qtestlib/tutorial4/testgui.cpp2
-rw-r--r--examples/qtestlib/tutorial5/benchmarking.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/qtestlib/tutorial3/testgui.cpp b/examples/qtestlib/tutorial3/testgui.cpp
index 74b25a8e02..6618d86c14 100644
--- a/examples/qtestlib/tutorial3/testgui.cpp
+++ b/examples/qtestlib/tutorial3/testgui.cpp
@@ -39,7 +39,7 @@
****************************************************************************/
//! [0]
-#include <QtGui>
+#include <QtWidgets>
#include <QtTest/QtTest>
class TestGui: public QObject
diff --git a/examples/qtestlib/tutorial4/testgui.cpp b/examples/qtestlib/tutorial4/testgui.cpp
index a1fbbb7d71..66a6cbe7c5 100644
--- a/examples/qtestlib/tutorial4/testgui.cpp
+++ b/examples/qtestlib/tutorial4/testgui.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include <QtTest/QtTest>
//! [0]
diff --git a/examples/qtestlib/tutorial5/benchmarking.cpp b/examples/qtestlib/tutorial5/benchmarking.cpp
index 604eb20a50..f844c2e66c 100644
--- a/examples/qtestlib/tutorial5/benchmarking.cpp
+++ b/examples/qtestlib/tutorial5/benchmarking.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include <qtest.h>
class TestBenchmark : public QObject