On Thu, Dec 1, 2011 at 11:39 AM, Koen Deforche <k...@emweb.be> wrote:
>
> Qt's QML is the new way of doing interfaces. Aside from tyre obvious GUI
>> dependency, would it be possible to have QML bindings for witty widgets?
>> Maybe somehow use the QML backend?
>>
>
> Although we have looked at QML, I wasn't totally convinced. In my opinion,
> they should have made QML 100% JavaScript.
>
> At least this is the vision I would have for an equivalent for Wt -- to
> create bindings for Wt into JavaScript (using e.g. V8), in such a way that
> you can do most things declaratively like in QML.
>
>
Maybe I've not fully grasped what you mean but, how would you the add C++
to the equation?
The ability to use C++ is what drove me to Wt in the first place. My first
'serious' application was a virtualization console (something like
http://virt-manager.org/ ) using libvirt (C library). Being able to use
libvirt directly from Wt made it almost trivial to implement.
How would this work with the Wt JavaScript bindings? I would need to create
a C-Javascript layer for libvirt, then use the libvirt-js binding, right?
That looks like a huge disadvantage, and I'd say that's exactly why QML
allows combining JavaScript and C++.
That being said, SMOKE, the bindings-generator Richard Dale and others
developed for Qt and KDE, already creates JavaScript bindings for Qt and
KDE, and they are faster than Nokia's.
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest