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?
问题:
回答1:
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.
回答2:
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.
回答3:
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.
回答4:
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/
回答5:
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