aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlmoduleplugin
diff options
context:
space:
mode:
authorAlan Alpert <aalpert@rim.com>2012-12-08 13:57:12 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-27 20:40:28 +0100
commit1f3038d2144603c687d85b0a7962322d3c9ae422 (patch)
tree461b411e8b5b98a0f37495a51e24687d4ca675f5 /tests/auto/qml/qqmlmoduleplugin
parentf7ada9b9325c7adc10da6a3a4e7f887452682260 (diff)
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>
Diffstat (limited to 'tests/auto/qml/qqmlmoduleplugin')
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/data/implicit2/temptest2.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlmoduleplugin/data/implicit2/temptest2.qml b/tests/auto/qml/qqmlmoduleplugin/data/implicit2/temptest2.qml
index 0fa9f6e051..051c6f8904 100644
--- a/tests/auto/qml/qqmlmoduleplugin/data/implicit2/temptest2.qml
+++ b/tests/auto/qml/qqmlmoduleplugin/data/implicit2/temptest2.qml
@@ -1,8 +1,10 @@
import QtQuick 2.0
// the type loader will implicitly search "." for a qmldir
+// to try and find the missing type of AItem
// and the qmldir has various syntax errors in it.
Item {
id: root
+ AItem{}
}