summaryrefslogtreecommitdiffstats
path: root/examples/tools/regexp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tools/regexp')
-rw-r--r--examples/tools/regexp/regexp.pro1
-rw-r--r--examples/tools/regexp/regexpdialog.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/tools/regexp/regexp.pro b/examples/tools/regexp/regexp.pro
index 0e84510305..62ae570ef1 100644
--- a/examples/tools/regexp/regexp.pro
+++ b/examples/tools/regexp/regexp.pro
@@ -9,6 +9,7 @@ sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/regexp
INSTALLS += target sources
symbian: CONFIG += qt_example
+QT += widgets
maemo5: CONFIG += qt_example
symbian: warning(This example might not fully work on Symbian platform)
diff --git a/examples/tools/regexp/regexpdialog.cpp b/examples/tools/regexp/regexpdialog.cpp
index 583c384bdd..b9468bd49f 100644
--- a/examples/tools/regexp/regexpdialog.cpp
+++ b/examples/tools/regexp/regexpdialog.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include "regexpdialog.h"