PyQt + QML



  • Anyone know the status of Qt Quick bindings for either PyQT or PySide? Would love to see that.



  • I don't know the status of those bindings but I do know that Qt doesn't do them, you'll have to ask the individual projects for their status.

    The likely scenario is that Qt Quick bindings, of at least QDeclarativeVIew, will be available when those projects release their Qt 4.7 bindings. Which would be later this year, after the Qt 4.7 release.



  • You're right, Qt doesn't do them but hopefully some of the authors monitors this forum :)

    Btw, thanks for the Quick tutorial on kubutu-devel yesterday.



  • I asked about the bindings to the pyside team and they said it's done, but you need to get it in pyside's git, or wait for the next release.



  • After browsing the "Getting started" documentation I might actually give pyside a go and try compile it myself.

    Thanks for the tip!



  • Yeah, quick is another reason to look at pySide. Maybe I'll start to use python in Qt programming one day.



  • If you give it a try you won't go back :)

    For example, In PyQt you can connect to signals as simple as this:

    @def myCallback():
    """ This is a simple python function w/o knowing it is a slot """
    print "Button Clicked"
    button.clicked.connect(myCallback)
    @

    or you can do it even more sweeter:

    @@button.clicked.connect
    def myCallback():
    """ This is a simple python function w/o knowing it is a slot """
    print "Button Clicked"
    @

    I just love it!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.