Select appropriate version for located module components
authorMatthew Vogt <matthew.vogt@nokia.com>
Fri, 13 Jul 2012 05:34:05 +0000 (15:34 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 17 Jul 2012 01:52:04 +0000 (03:52 +0200)
commit20cecd7b003f27485789e93b4c2b6f5f734e5bea
tree2dd4a623ac459176d6c541eff8c5217dcaaa1f5b
parentd6bd6cd323f91b9cb01d94c560cf8b40dafeb790
Select appropriate version for located module components

When a located module is imported with a version specifier, ensure that
the components resolved from that module use the appropriate version.

Task-number: QTBUG-26473
Change-Id: I33209ddef3fe9bb0ab9d096dfe19aff233744afc
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
src/qml/qml/qqmlimport.cpp
tests/auto/qml/qqmlmoduleplugin/data/localModule/TestComponent.1.0.qml [new file with mode: 0644]
tests/auto/qml/qqmlmoduleplugin/data/localModule/TestComponent.1.1.qml [new file with mode: 0644]
tests/auto/qml/qqmlmoduleplugin/data/localModule/TestComponent.2.0.qml [new file with mode: 0644]
tests/auto/qml/qqmlmoduleplugin/data/localModule/qmldir [new file with mode: 0644]
tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp