summaryrefslogtreecommitdiffstats
path: root/examples/widgets/softkeys
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/softkeys')
-rw-r--r--examples/widgets/softkeys/main.cpp2
-rw-r--r--examples/widgets/softkeys/softkeys.h2
-rw-r--r--examples/widgets/softkeys/softkeys.pro1
3 files changed, 3 insertions, 2 deletions
diff --git a/examples/widgets/softkeys/main.cpp b/examples/widgets/softkeys/main.cpp
index 5678eb37ed..c23a3685d9 100644
--- a/examples/widgets/softkeys/main.cpp
+++ b/examples/widgets/softkeys/main.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include "softkeys.h"
int main(int argc, char *argv[])
diff --git a/examples/widgets/softkeys/softkeys.h b/examples/widgets/softkeys/softkeys.h
index 5427e1020f..6e2b2665ea 100644
--- a/examples/widgets/softkeys/softkeys.h
+++ b/examples/widgets/softkeys/softkeys.h
@@ -41,7 +41,7 @@
#ifndef SOFTKEYS_H
#define SOFTKEYS_H
-#include <QtGui>
+#include <QtWidgets>
class MainWindow : public QMainWindow
{
diff --git a/examples/widgets/softkeys/softkeys.pro b/examples/widgets/softkeys/softkeys.pro
index 4bbbc0477f..e0be830b4d 100644
--- a/examples/widgets/softkeys/softkeys.pro
+++ b/examples/widgets/softkeys/softkeys.pro
@@ -13,5 +13,6 @@ symbian {
TARGET.UID3 = 0xA000CF6B
CONFIG += qt_example
}
+QT += widgets
maemo5: CONFIG += qt_example