Switch the code path from the old compiler and VME to the new code path
authorSimon Hausmann <simon.hausmann@digia.com>
Wed, 5 Mar 2014 09:27:14 +0000 (10:27 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 6 Mar 2014 13:23:22 +0000 (14:23 +0100)
Change-Id: Ib1b38ec07830f8df9fa4caacd00879434608053b
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/qqmlengine.cpp
tests/auto/qml/qml.pro

index e9a0858..c344c3e 100644 (file)
@@ -552,8 +552,6 @@ the same object as is returned from the Qt.include() call.
 */
 // Qt.include() is implemented in qv4include.cpp
 
-DEFINE_BOOL_CONFIG_OPTION(qmlUseNewCompiler, QML_NEW_COMPILER)
-
 QQmlEnginePrivate::QQmlEnginePrivate(QQmlEngine *e)
 : propertyCapture(0), rootContext(0), isDebugging(false),
   profiler(0), outputWarningsToStdErr(true),
@@ -564,7 +562,7 @@ QQmlEnginePrivate::QQmlEnginePrivate(QQmlEngine *e)
   scarceResourcesRefCount(0), importDatabase(e), typeLoader(e), uniqueId(1),
   incubatorCount(0), incubationController(0), mutex(QMutex::Recursive)
 {
-    useNewCompiler = qmlUseNewCompiler();
+    useNewCompiler = true;
 }
 
 QQmlEnginePrivate::~QQmlEnginePrivate()
index a330cd4..60c83a1 100644 (file)
@@ -36,7 +36,6 @@ PRIVATETESTS += \
     qqmlexpression \
     qqmldirparser \
     qqmlglobal \
-    qqmlinstruction \
     qqmllanguage \
     qqmlproperty \
     qqmlpropertycache \