summaryrefslogtreecommitdiffstats
path: root/examples/network/threadedfortuneserver
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/network/threadedfortuneserver
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/network/threadedfortuneserver')
-rw-r--r--examples/network/threadedfortuneserver/dialog.cpp2
-rw-r--r--examples/network/threadedfortuneserver/threadedfortuneserver.pro2
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/network/threadedfortuneserver/dialog.cpp b/examples/network/threadedfortuneserver/dialog.cpp
index b69f42cc85..b46beadd07 100644
--- a/examples/network/threadedfortuneserver/dialog.cpp
+++ b/examples/network/threadedfortuneserver/dialog.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include <QtNetwork>
#include <stdlib.h>
diff --git a/examples/network/threadedfortuneserver/threadedfortuneserver.pro b/examples/network/threadedfortuneserver/threadedfortuneserver.pro
index a76974a57e..21beac7529 100644
--- a/examples/network/threadedfortuneserver/threadedfortuneserver.pro
+++ b/examples/network/threadedfortuneserver/threadedfortuneserver.pro
@@ -1,3 +1,5 @@
+QT += widgets
+
HEADERS = dialog.h \
fortuneserver.h \
fortunethread.h