summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@edeltech.ch>2017-02-14 23:44:02 +0100
committerSamuel Gaist <samuel.gaist@edeltech.ch>2017-03-01 07:54:51 +0000
commita5b1e6e35e32719647c7f9b3de3953838d40d805 (patch)
tree66d78649d6568ab072cc261ace0c4b55971dc5d4
parent8f340ee4baddd6f9a43ecb1754c563372b561ce3 (diff)
downloadqtxmlpatterns-a5b1e6e35e32719647c7f9b3de3953838d40d805.tar.gz
Fix QRegExp includes
This patch adds missing QRegExp includes in preparation for the qtbase include cleanup. Change-Id: Iad019a697d785e351f639b685a5d8c6a86e1f161 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-rw-r--r--examples/xmlpatterns/shared/xmlsyntaxhighlighter.h1
-rw-r--r--tools/xmlpatterns/qapplicationargumentparser.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/xmlpatterns/shared/xmlsyntaxhighlighter.h b/examples/xmlpatterns/shared/xmlsyntaxhighlighter.h
index 7da81be..7a104d5 100644
--- a/examples/xmlpatterns/shared/xmlsyntaxhighlighter.h
+++ b/examples/xmlpatterns/shared/xmlsyntaxhighlighter.h
@@ -41,6 +41,7 @@
#ifndef XMLSYNTAXHIGHLIGHTER_H
#define XMLSYNTAXHIGHLIGHTER_H
+#include <QtCore/QRegExp>
#include <QtGui/QSyntaxHighlighter>
class XmlSyntaxHighlighter : public QSyntaxHighlighter
diff --git a/tools/xmlpatterns/qapplicationargumentparser.cpp b/tools/xmlpatterns/qapplicationargumentparser.cpp
index 6d4594b..f441b93 100644
--- a/tools/xmlpatterns/qapplicationargumentparser.cpp
+++ b/tools/xmlpatterns/qapplicationargumentparser.cpp
@@ -34,6 +34,7 @@
#include <QStringList>
#include <QTextStream>
#include <QUrl>
+#include <QRegExp>
#include "qapplicationargument_p.h"