summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-12-07 20:17:59 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-11 13:37:57 +0100
commite0d72efbe7f4056a88e6c25a0866806603e4b944 (patch)
treeb6bfd2c933d34066c5abdbb3d8dce6ecb7da390a
parent70eef84b18092548c5b85b5910f4b262048cbd07 (diff)
remove bizarre jsc source reference
it compiles just fine without it. if this was meant to inject a newer version of JSC than what is in QtScript, it can be redone without creating a bizarre hybrid. Change-Id: I61fe60bfa6a9bdb6423e8a7135250e332a5835ec Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
-rw-r--r--tests/benchmarks/corelib/tools/qregexp/qregexp.pro3
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
}