Delay loading implicit import
authorAlan Alpert <aalpert@rim.com>
Sat, 8 Dec 2012 21:57:12 +0000 (13:57 -0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 27 Mar 2013 19:40:28 +0000 (20:40 +0100)
commit1f3038d2144603c687d85b0a7962322d3c9ae422
tree461b411e8b5b98a0f37495a51e24687d4ca675f5
parentf7ada9b9325c7adc10da6a3a4e7f887452682260
Delay loading implicit import

As a performance improvement to avoid extra filesystem access, only
import "." if it is needed for type resolution.

Change-Id: If9be25deb3205f8c81f9f418404d9fb41bebb84f
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
src/qml/qml/qqmlimport.cpp
src/qml/qml/qqmltypeloader.cpp
src/qml/qml/qqmltypeloader_p.h
tests/auto/qml/qqmllanguage/data/LocalLast2.qml [new file with mode: 0644]
tests/auto/qml/qqmllanguage/data/localOrderTest.qml [new file with mode: 0644]
tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp
tests/auto/qml/qqmlmoduleplugin/data/implicit2/temptest2.qml