summaryrefslogtreecommitdiffstats
path: root/examples/network/network-chat
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/network-chat
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/network-chat')
-rw-r--r--examples/network/network-chat/chatdialog.cpp2
-rw-r--r--examples/network/network-chat/network-chat.pro2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/network/network-chat/chatdialog.cpp b/examples/network/network-chat/chatdialog.cpp
index cdb29ea518..9ad042e05f 100644
--- a/examples/network/network-chat/chatdialog.cpp
+++ b/examples/network/network-chat/chatdialog.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include "chatdialog.h"
diff --git a/examples/network/network-chat/network-chat.pro b/examples/network/network-chat/network-chat.pro
index 7c1514f727..91c832d149 100644
--- a/examples/network/network-chat/network-chat.pro
+++ b/examples/network/network-chat/network-chat.pro
@@ -10,7 +10,7 @@ SOURCES = chatdialog.cpp \
peermanager.cpp \
server.cpp
FORMS = chatdialog.ui
-QT += network
+QT += network widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/network/network-chat