[Interest] Qt5 - my hopes for when the dust settles...

Alan Ezust alan.ezust at gmail.com
Sat Aug 18 17:32:53 CEST 2012


On Thu, Aug 16, 2012 at 2:54 AM, Mark Summerfield <list at qtrac.plus.com> wrote:
> Hi,
>
> I hope that Digia proves to be a good steward of Qt---for Qt/Desktop
> users as well as for Qt/Mobile users!
>
> Here are some of the things I'd like to see in a future Qt.*
>
> - A full C++ API for all the things that currently can only be done
>   using QML/JavaScript so that everything can be programmed purely in
>   C++ (or purely in whatever language you have bindings for).

Nice to see that there are some new classes in the C++ API of Qt5 that
address that already!

> - An introspection API similar in spirit to the one provided by Gtk+
>   which is specifically designed to make it as straightforward as
>   possible to add language bindings to Qt.
>
> - One or more official language bindings using the introspection API,
>   e.g., for Python and for Java.

Qt's Javascript would be much more useful if wrappers for all the Qt
classes were already in it.
It is so much more enjoyable to code in PyQt using the Qt classes I
already know and love from C++. I think it should be possible from
JavaScript too. Then I could create a little javascript command line
interpreter and create Qt objects and inspect them like I do now via
Python.

>   (This is not a criticism of PySide; indeed I personally prefer using
>    Python, but I think that it would be better if Qt provided a more
>    language-agnostic---and uniform---approach to language bindings.)

Yes, if it was possible to create items and animate them using Python
in the new Qt Scenegraph, that would be lovely.

> - An API for reading and writing .gz, .zip, and .tar.gz files.

Yes, this is *much* needed. I see zlib already in 3rdparty. So it's
packaged with Qt but not exposed as an API.



More information about the Interest mailing list