> Aha, that does make things better. Thanks for the tip, Kai! For .js
> files the old syntax is however still in use, as I have things like:

It was never a syntax. It never did anything for .qml files (the type was 
available anyway since the file was in the same dir). All that was fixed was 
adding the error message.

> import "MapUtils.js" as MapUtils

This is a different concept altogether - it's the way JavaScript modules (as 
opposed to QML types) are imported with a namespace. It remains valid and works.

--
Warwick

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to