Getting started with PySide [closed]

2019-03-09 04:55发布

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?

5条回答
对你真心纯属浪费
2楼-- · 2019-03-09 05:22

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.

查看更多
萌系小妹纸
3楼-- · 2019-03-09 05:35

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/

查看更多
够拽才男人
4楼-- · 2019-03-09 05:38

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

查看更多
Melony?
5楼-- · 2019-03-09 05:40

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.

查看更多
女痞
6楼-- · 2019-03-09 05:40

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.

查看更多
登录 后发表回答