Hello.

I've been playing with idea to create netscape plugin to execute QML. I mean
having web page containing something like this:

<object id="TestObject" TYPE=test WIDTH=400 HEIGHT=200
data="http://foo.bar/lets_try.qml";>

Implementation is just trivial NP that subclasses QDeclarativeView.

Things work fairly well if this "lets_try.qml" is the only qml file needed. So,
that given qml file can contain images, or javascript and they are fetched OK as
it is possible to put full URL as source (some QNetworkReply subclassing needed,
but that is working). But if my QML app contains several QML files and in
lets_try.qml I have for example MyButton that is actually defined in
MyButton.qml file. In such case qml engine does not call my subclassed
QNetworkReply. So, how should I reference to other qml files in this case? I
have tried to do

import "http://foo.bar/"; 

where I have qmldir and that is fetched OK as well, but stuff inside qmldir is
not fetched.

Regards,

Mika


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

Reply via email to