Menu

Is QML supported?

Help
2016-03-10
2016-03-11
  • Reinis Danne

    Reinis Danne - 2016-03-10

    Hi!

    I was looking trough the sources and couldn't find the bindings for QtQml module in generated bindings for Qt 5.4. Is it possible to work with PythonQt and QML like with PyQt [1]?

    Reinis

    [1] http://pyqt.sourceforge.net/Docs/PyQt5/qml.html

     
  • Florian Link

    Florian Link - 2016-03-11

    No, I did not yet generate bindings for QML. The generation would be straight forward, it just needs a typesystem xml file that lists the classes.

    The bigger problem is the deep integration. Currently PythonQt does not support adding own slots/signals, so it is not yet possible to add PythonQt objects into Qml. At least not at the deep level that PyQt supports this.
    Support for custom signal/slots is on my wishlist,
    I plan to add it later this year.

     

Log in to post a comment.