summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestlog_p.h
diff options
context:
space:
mode:
authorSérgio Martins <sergio.martins@kdab.com>2014-08-12 18:00:53 +0100
committerMarc Mutz <marc.mutz@kdab.com>2014-08-13 08:48:01 +0200
commit10b9e1b6b4deadfa35caefb0c8fdc5b69c63fe0d (patch)
tree1fb0e173be0f123fb83bf3b9df9b08449c7c1be2 /src/testlib/qtestlog_p.h
parentbf9a4ef8b4210bd1f434828911361008ea2350ec (diff)
Fix QT_NO_REGULAREXPRESSION build
Change-Id: Ibf1358733d7c5aa2c14cf46c23a24ba4da14143c Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/testlib/qtestlog_p.h')
-rw-r--r--src/testlib/qtestlog_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testlib/qtestlog_p.h b/src/testlib/qtestlog_p.h
index a987c45806..0ed6750f63 100644
--- a/src/testlib/qtestlog_p.h
+++ b/src/testlib/qtestlog_p.h
@@ -76,7 +76,9 @@ public:
static void addBenchmarkResult(const QBenchmarkResult &result);
static void ignoreMessage(QtMsgType type, const char *msg);
+#ifndef QT_NO_REGULAREXPRESSION
static void ignoreMessage(QtMsgType type, const QRegularExpression &expression);
+#endif
static int unhandledIgnoreMessages();
static void printUnhandledIgnoreMessages();
static void clearIgnoreMessages();