summaryrefslogtreecommitdiffstats
path: root/examples/statemachine/eventtransitions
diff options
context:
space:
mode:
Diffstat (limited to 'examples/statemachine/eventtransitions')
-rw-r--r--examples/statemachine/eventtransitions/eventtransitions.pro1
-rw-r--r--examples/statemachine/eventtransitions/main.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/statemachine/eventtransitions/eventtransitions.pro b/examples/statemachine/eventtransitions/eventtransitions.pro
index 21b2655dd6..374ef3a72f 100644
--- a/examples/statemachine/eventtransitions/eventtransitions.pro
+++ b/examples/statemachine/eventtransitions/eventtransitions.pro
@@ -5,6 +5,7 @@ target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/statemachine/eventtransitions
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS eventtransitions.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/statemachine/eventtransitions
INSTALLS += target sources
+QT += widgets
symbian: CONFIG += qt_example
maemo5: CONFIG += qt_example
diff --git a/examples/statemachine/eventtransitions/main.cpp b/examples/statemachine/eventtransitions/main.cpp
index 5c0eb8218b..291c1d441d 100644
--- a/examples/statemachine/eventtransitions/main.cpp
+++ b/examples/statemachine/eventtransitions/main.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
//! [0]
class Window : public QWidget