summaryrefslogtreecommitdiffstats
path: root/examples/tools/customtypesending
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tools/customtypesending')
-rw-r--r--examples/tools/customtypesending/customtypesending.pro1
-rw-r--r--examples/tools/customtypesending/window.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/tools/customtypesending/customtypesending.pro b/examples/tools/customtypesending/customtypesending.pro
index 6bf7d6e74e..4d11497f0b 100644
--- a/examples/tools/customtypesending/customtypesending.pro
+++ b/examples/tools/customtypesending/customtypesending.pro
@@ -3,6 +3,7 @@ HEADERS = message.h \
SOURCES = main.cpp \
message.cpp \
window.cpp
+QT += widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/tools/customcompleter
diff --git a/examples/tools/customtypesending/window.cpp b/examples/tools/customtypesending/window.cpp
index 24845a4279..813fea9b1d 100644
--- a/examples/tools/customtypesending/window.cpp
+++ b/examples/tools/customtypesending/window.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include "window.h"
//! [Window constructor]