summaryrefslogtreecommitdiffstats
path: root/examples/threads/queuedcustomtype
diff options
context:
space:
mode:
Diffstat (limited to 'examples/threads/queuedcustomtype')
-rw-r--r--examples/threads/queuedcustomtype/queuedcustomtype.pro1
-rw-r--r--examples/threads/queuedcustomtype/window.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/threads/queuedcustomtype/queuedcustomtype.pro b/examples/threads/queuedcustomtype/queuedcustomtype.pro
index 6f39121df7..f26ab6cde5 100644
--- a/examples/threads/queuedcustomtype/queuedcustomtype.pro
+++ b/examples/threads/queuedcustomtype/queuedcustomtype.pro
@@ -5,3 +5,4 @@ SOURCES = main.cpp \
block.cpp \
renderthread.cpp \
window.cpp
+QT += widgets
diff --git a/examples/threads/queuedcustomtype/window.cpp b/examples/threads/queuedcustomtype/window.cpp
index 367b75818f..26a78af969 100644
--- a/examples/threads/queuedcustomtype/window.cpp
+++ b/examples/threads/queuedcustomtype/window.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include "window.h"
//! [Window constructor start]