July 8, 2010

mario mario
Lab Rat
240 posts

PyQt + QML

 

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

6 replies

July 8, 2010

aalpert aalpert
Lab Rat
44 posts

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.

July 8, 2010

mario mario
Lab Rat
240 posts

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.

July 8, 2010

danilocesar danilocesar
Lab Rat
161 posts

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.

 Signature 

Danilo Cesar Lemes de Paula
Software Engineer

July 8, 2010

mario mario
Lab Rat
240 posts

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

Thanks for the tip!

July 8, 2010

Denis Kormalev Denis Kormalev
Lab Rat
1654 posts

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

July 9, 2010

mario mario
Lab Rat
240 posts

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

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

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

or you can do it even more sweeter:

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

I just love it!

 
  ‹‹ Needed help building PySide      language bindings in the wiki ››

You must log in to post a reply. Not a member yet? Register here!