summaryrefslogtreecommitdiffstats
path: root/examples/xml/rsslisting
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xml/rsslisting')
-rw-r--r--examples/xml/rsslisting/main.cpp2
-rw-r--r--examples/xml/rsslisting/rsslisting.cpp2
-rw-r--r--examples/xml/rsslisting/rsslisting.pro2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/xml/rsslisting/main.cpp b/examples/xml/rsslisting/main.cpp
index 78abb92e8d..7d2b4ca10f 100644
--- a/examples/xml/rsslisting/main.cpp
+++ b/examples/xml/rsslisting/main.cpp
@@ -44,7 +44,7 @@ main.cpp
Provides the main function for the RSS news reader example.
*/
-#include <QtGui>
+#include <QtWidgets>
#include "rsslisting.h"
diff --git a/examples/xml/rsslisting/rsslisting.cpp b/examples/xml/rsslisting/rsslisting.cpp
index ffc6d1a6c7..ba9ff28072 100644
--- a/examples/xml/rsslisting/rsslisting.cpp
+++ b/examples/xml/rsslisting/rsslisting.cpp
@@ -55,7 +55,7 @@ its operation, and also allows very large data sources to be read.
#include <QtCore>
-#include <QtGui>
+#include <QtWidgets>
#include <QtNetwork>
#include "rsslisting.h"
diff --git a/examples/xml/rsslisting/rsslisting.pro b/examples/xml/rsslisting/rsslisting.pro
index 413fdf651e..551be70db7 100644
--- a/examples/xml/rsslisting/rsslisting.pro
+++ b/examples/xml/rsslisting/rsslisting.pro
@@ -1,6 +1,6 @@
HEADERS += rsslisting.h
SOURCES += main.cpp rsslisting.cpp
-QT += network xml
+QT += network xml widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/xml/rsslisting