summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/tools/qregexp/qregexp.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/corelib/tools/qregexp/qregexp.pro')
-rw-r--r--tests/benchmarks/corelib/tools/qregexp/qregexp.pro5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro
index 6e466aeab6..74544519f3 100644
--- a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro
+++ b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro
@@ -1,13 +1,12 @@
TEMPLATE = app
TARGET = tst_bench_qregexp
QT = core testlib
-CONFIG += release
+CONFIG += release exceptions
SOURCES += main.cpp
RESOURCES += qregexp.qrc
-!isEmpty(QT.webkit.sources):exists($${QT.webkit.sources}/../JavaScriptCore/JavaScriptCore.pri) {
- include( $${QT.webkit.sources}/../JavaScriptCore/JavaScriptCore.pri )
+qtHaveModule(script):!pcre {
DEFINES += HAVE_JSC
QT += script
}