remove bizarre jsc source reference
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Fri, 7 Dec 2012 19:17:59 +0000 (20:17 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 11 Dec 2012 12:37:57 +0000 (13:37 +0100)
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>
tests/benchmarks/corelib/tools/qregexp/qregexp.pro

index 140c93b..d62b5b1 100644 (file)
@@ -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
 }