Einmal bitte auf Freundlichkeit korrekturlesen :) Danke :)
Pavel Vasev
pavel.vasev at gmail.com
Fri Apr 10 14:26:44 UTC 2015
Hi Anton!
Thank you for your reply! ;-)
Actually, it doesn't matter to me, who wrote the code. And what matters:
the code should do things i need ;-)
So, don't worry. As for me, I try to keep actual changes that I made, in
pull request text.
I looked at those fork because you mentioned it in email list earlier, and
found author's note on import.
> Implemented 'import'
> QML Types are now registered into different modules. They're only made
> available once their module has been required (e.g: can't use Rectangle
> unless there's an import QtQuick). Versions can also be matched by the
> types when they're registered, to allow people to implement different
> behaviors for different versions of the same module.
As I understand, it does not what Qt do. This guy developed cool function
registerQmlType, and only qml objects registered with that function are
available for import.
And as I understand, this registerQmlType accepts qml objects written in JS
notation, not in qml language.
So... those import will import only "qml" objects, written in JS, which was
registered earlier, via registerQmlType.
Not that thing that I need. As for me, I need to import in Qt style,
including import from urls.
But actually, I can be wrong. So it is good idea to look at the code, as
you stated in your email.
p.s. Current import scheme (Qt-style) is not excellent, because it requires
a lot of client-server interaction. We talked about it with you earlier
and came to conclusion that it could be enhanced (for web), for example by
pre-compilation of qml files to common big js file (or group of files).
Maybe that guy did something like that?
С уважением,
Павел Васёв
2015-04-10 18:06 GMT+05:00 Anton Kreuzkamp <kde-development at akreuzkamp.de>:
> Hi Pavel,
>
> sorry for still not having merged your pull request, yet. The reason is the
> following:
>
> I was, by chance, made aware of a QmlWeb clone that exists on GitHub, by a
> french programmer, who didn't reach out to me, himself. Still he has done
> quite a lot and quite good code.
> I'm currently trying to get an overview over his work to see, which stuff
> can
> be mergen and where work was duplicated. Also I'm trying to make contact
> with
> him, in order to collaborate in the future.
>
> One of the things that have been duplicated is unfortunately your work on
> imports... In fact, his implementation seems to be almost complete
> (supporting module imports, javascript imports and directory imports).
>
> I need to have a deeper look into both implementations, in order to get out
> the best of both. (If you want, you can have a look here:
> https://github.com/Plaristote/qmlweb)
>
> Sorry for the inconvenience,
> Anton
>
> PS: From September 6th to 13th the KDE community has a developer sprint in
> Randa, Switzerland. I would like to use that opportunity, to get all QmlWeb
> developers together for some hacking and planning the future of the
> project.
> Are you interested in joining us? :)
>
> --
> Kind regards to the NSA.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/qmlweb/attachments/20150410/b06ef7d0/attachment.html>
More information about the QmlWeb
mailing list