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>
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
}