Re:PyQt5 Tutorial: Create a Python GUI in 2018
by cpburns2009 on Tuesday September 25, 2018 @12:40PM
(#18067921)
PySide2 is now out of beta?
[ Parent
| on HN ]
Re:PyQt5 Tutorial: Create a Python GUI in 2018
by macco on Tuesday September 25, 2018 @12:49PM
(#18068024)
Yes, it's called "Qt for Python" now
Re:PyQt5 Tutorial: Create a Python GUI in 2018
by yorwba on Tuesday September 25, 2018 @01:09PM
(#18068243)
It's still just a "technical preview", but I've been using it for a while and didn't have any problems that weren't caused by me not knowing how Qt works.
Some of the examples in the documentation are still in C++, but it's pretty easy to translate them to Python since the names are the same. (Sometimes painfully so, e.g PySide2.QtCore.Qt.ScrollBarPolicy.ScrollBarAlwaysOff.)
Re:PyQt5 Tutorial: Create a Python GUI in 2018
by sleavey on Tuesday September 25, 2018 @01:39PM
(#18068571)
Agreed. I dabbled with Pyside2 recently and it was refreshingly well structured compared to PyQt4, which is what I last used when I built a GUI a few years ago. It looks like the community might finally get behind one, good, open library for Qt5.
Re:PyQt5 Tutorial: Create a Python GUI in 2018
by toyg on Tuesday September 25, 2018 @01:49PM
(#18068681)
> Some of the examples in the documentation are still in C++
If you do anything serious with Qt you'll have to read those anyway, I believe even PyQt stopped "translating" the docs to python. It's easy enough anyway, even for people like me with no real experience of C++.