I decided to learn Python Gui development and, as PyQt is non-free, the choice was PySide for it. But, unlike PyQt, PySide doesn't have any tutorials or screencasts, just documentation useless for very beginners. I have no Qt experience, so even setting up development environment in Ubuntu is a problem. Could you advice something to learn from?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- QML: Cannot read property 'xxx' of undefin
- How to get the background from multiple images by
- Evil ctypes hack in python
If you are going to just learn GUI development with Python, does PyQt not being free really matter?
And make sure you actually know the PyQt license before arriving at such a conclusion!
There a plethora of tutorials available for both. See the official documentation. Note that the basic stuff (signals and slots etc.) is the same. What differs is mentioned here.
At the time zetcode didn't have a pyside tutorial I suppose but it's there now and very helpful.
http://zetcode.com/gui/pysidetutorial/
Here is a tutorial about setting up the tools, designing GUI, writing code and compiling PySide into stand-alone apps. It has code samples, screen shots and videos: Kodekraft
I am not surprised that you couldn't find any tutorials at the time PySide was trying to get its first stable release ever. =) Now that PySide 1.0.0 is released, API is stable and bugs are ruled out, you can find newbie and advanced PySide tutorials with the rest of documentation and links to other resources at Qt Wiki.
Learning Qt with Python is much easier than with C++ . Setting up development environment - They provide Qt Designer which is a really good option. Just design the GUI and convert it using pyuic tool . No tutorials ? Check these out.
Zetcode
Tutorial with Designer
A Nice list of simple Tutorials
And u can try this book : Rapid GUI Programming with python and Qt . The Book's impressive.