diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-04-19 22:45:05 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-04-20 09:15:30 +0200 |
commit | b9b6755ff8d89a24ea142c482494fa9f78c8229e (patch) | |
tree | 34c4f1fa85488933d5bcc476f92ff082178629bd /src/qml/debugger | |
parent | 8109d47545a488ead9fac525968c360abb1fd23e (diff) |
Disable the old v4 engine by default
Left the code in there, as a reference for how we might want to
build up binding evaluation in the new v4.
Change-Id: I5c81ea986d642b524fb02087d819b39c4e3fb257
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/debugger')
-rw-r--r-- | src/qml/debugger/qv8debugservice.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/debugger/qv8debugservice.cpp b/src/qml/debugger/qv8debugservice.cpp index d9d4323d00..babc6ce118 100644 --- a/src/qml/debugger/qv8debugservice.cpp +++ b/src/qml/debugger/qv8debugservice.cpp @@ -191,7 +191,9 @@ void QV8DebugService::init() // ### FIXME: v4 // v8::Debug::SetMessageHandler2(DebugMessageHandler); // v8::Debug::SetDebugMessageDispatchHandler(DebugMessageDispatchHandler); +#ifdef QT_USE_OLD_V4 QV4Compiler::enableV4(false); +#endif } // executed in the gui thread |