diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-03-25 08:19:07 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-03-25 08:19:07 (GMT) |
commit | 870dbc7542beb07b84378f356cbe568a2ae8b7e1 (patch) | |
tree | d6932d926b7a7623030f4a86fb9e0abe4ef21449 /tests/auto/declarative/qdeclarativelanguage | |
parent | 6801a97671f64ef30ab312b38d16abc964ad6ac5 (diff) | |
download | Qt-870dbc7542beb07b84378f356cbe568a2ae8b7e1.zip Qt-870dbc7542beb07b84378f356cbe568a2ae8b7e1.tar.gz Qt-870dbc7542beb07b84378f356cbe568a2ae8b7e1.tar.bz2 |
Tweak import behaviour
The implicit import of types in the same directory/module now imports
version -1 (which means all versions). This fixes the Twitter demo.
Additionally, the current directory is not added to the imports path.
No functionality is lost, as you can import local modules with relative
paths for the same effect.
Improved docs are on the way.
Reviewed-by: mae
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage')
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/data/lib/com/nokia/installedtest/InstalledTest.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/data/lib/com/nokia/installedtest/InstalledTest.qml b/tests/auto/declarative/qdeclarativelanguage/data/lib/com/nokia/installedtest/InstalledTest.qml index d8a22a8..38cf6bb 100644 --- a/tests/auto/declarative/qdeclarativelanguage/data/lib/com/nokia/installedtest/InstalledTest.qml +++ b/tests/auto/declarative/qdeclarativelanguage/data/lib/com/nokia/installedtest/InstalledTest.qml @@ -1,2 +1,2 @@ -import Qt 4.6 -Rectangle {} +import Qt 4.6 as Qt +Qt.Rectangle {} |