summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/text/qregexp/qregexp.pro
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-05-27 19:13:54 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2019-07-10 17:05:30 +0200
commita9aa206b7b8ac4e69f8c46233b4080e00e845ff5 (patch)
tree0d19cb1f1a3b9d79d322e6e63f6f72160977ca67 /tests/benchmarks/corelib/text/qregexp/qregexp.pro
parent85d3061c1cd4617ef09cb381320611c27da205a5 (diff)
Move text-related code out of corelib/tools/ to corelib/text/
This includes byte array, string, char, unicode, locale, collation and regular expressions. Change-Id: I8b125fa52c8c513eb57a0f1298b91910e5a0d786 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/benchmarks/corelib/text/qregexp/qregexp.pro')
-rw-r--r--tests/benchmarks/corelib/text/qregexp/qregexp.pro20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/benchmarks/corelib/text/qregexp/qregexp.pro b/tests/benchmarks/corelib/text/qregexp/qregexp.pro
new file mode 100644
index 0000000000..f64ae781a2
--- /dev/null
+++ b/tests/benchmarks/corelib/text/qregexp/qregexp.pro
@@ -0,0 +1,20 @@
+TEMPLATE = app
+TARGET = tst_bench_qregexp
+QT = core testlib
+CONFIG += release exceptions
+
+SOURCES += main.cpp
+RESOURCES += qregexp.qrc
+
+qtHaveModule(script):!pcre {
+ DEFINES += HAVE_JSC
+ QT += script
+}
+
+!qnx {
+ exists($$[QT_SYSROOT]/usr/include/boost/regex.hpp) {
+ DEFINES += HAVE_BOOST
+ LIBS += -lboost_regex
+ }
+}
+