Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Check PyQt which provides python bindings for Qt.


sort by: page size:

PyQt?

And PySide if you want to avoid GPL! We are lucky to have two high-quality Python bindings into Qt.

http://qt-project.org/wiki/PySide


Just to note, there are official [1] Python bindings available for Qt and this can usually be installed with `pip install pyside2`.

[1] https://www.qt.io/qt-for-python


I have used PyQt. I wouldn't suggest that it's a suitable cross-platform toolkit for anything more than the most basic applications.

I like PyQt except that it's a pain to deploy anything written in it on Windows—though to be fair, I haven't tried for a couple years!

I wonder if PyQt works with Cython. That could be interesting.


I'm glad to see that you use PyQt for the GUI. Have you examined PySide as well? It's mostly drop-in compatible with PyQt and has a much better license in my opinion.

One issue with Py* tools is, PyQt is not LGPL and PySide is for Qt 4 only at the moment. But yeah :)

I know about PySide, that's why I specifically named pyqt.

Good luck packaging that on Windows though. PyQt generally works better if you need cross-platform support.

What about PySide or PyQt?

PySide are the LGPL Python bindings from the Qt Project.

What about PyQt5? Or does it work differently?

I've used PySide6 recently and I must say it's great, so you can also add Python to Qt's side.

Yeah, sorry. It shows at least that it's possible with the current PyPy C API layer to have GUI bindings working.

Here is the only PyPy related issue I found for PySide2: https://bugreports.qt.io/browse/PYSIDE-535

PyQt doesn't have a bug tracker ¯\_(?)_/¯


PyQt only contains the bindings. You share the same Qt environment across your system (hence qmake needs to be in your path). The python package itself is not that big (~10 MB).

yep. see http://www.riverbankcomputing.com/news/pyqt-496. the pyqt bindings are supported by riverbank, which offers commercial licenses, so they have every incentive to keep it up to date.

The UI is, at least on Windows, using PyQt, and thus, Python, too. You can find the dlls in DropBox' installation directory.

PyQt is quite nice, but I am eager for an LGPL version.

What happened to PyQt?

Also, the API does not seem Pythonic at all.

next

Legal | privacy