diff options
-rw-r--r-- | tests/benchmarks/corelib/tools/qregexp/qregexp.pro | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro index 140c93bd81..d62b5b1c11 100644 --- a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro +++ b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro @@ -6,8 +6,7 @@ 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 ) +!isEmpty(QT.script.name) { DEFINES += HAVE_JSC QT += script } |