summaryrefslogtreecommitdiffstats
path: root/examples/widgets/wiggly
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/wiggly')
-rw-r--r--examples/widgets/wiggly/dialog.cpp3
-rw-r--r--examples/widgets/wiggly/wiggly.pro2
-rw-r--r--examples/widgets/wiggly/wigglywidget.cpp2
3 files changed, 5 insertions, 2 deletions
diff --git a/examples/widgets/wiggly/dialog.cpp b/examples/widgets/wiggly/dialog.cpp
index a5b376143c..d2053d84ac 100644
--- a/examples/widgets/wiggly/dialog.cpp
+++ b/examples/widgets/wiggly/dialog.cpp
@@ -38,7 +38,8 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
+#include <QtWidgets>
#include "dialog.h"
#include "wigglywidget.h"
diff --git a/examples/widgets/wiggly/wiggly.pro b/examples/widgets/wiggly/wiggly.pro
index 5e885dd1eb..8a1bec3100 100644
--- a/examples/widgets/wiggly/wiggly.pro
+++ b/examples/widgets/wiggly/wiggly.pro
@@ -1,3 +1,5 @@
+QT += widgets widgets
+
HEADERS = wigglywidget.h \
dialog.h
SOURCES = wigglywidget.cpp \
diff --git a/examples/widgets/wiggly/wigglywidget.cpp b/examples/widgets/wiggly/wigglywidget.cpp
index 56a026ade7..b55efaa1fa 100644
--- a/examples/widgets/wiggly/wigglywidget.cpp
+++ b/examples/widgets/wiggly/wigglywidget.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include "wigglywidget.h"