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

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


sort by: page size:

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

Works well with pyqt as well. It's a dream environment writing cross platform apps, and since they're compiled, distribution (especially on win/osx) is really simple. Highly recommended!

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.

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.


PyQt?

PyObjC, which is what is being used here, is nice, but pretty fragile. It relies pretty much on one guy, Ronald Oussoren, who is also one of the py2app maintainers. It often lags behind the pace of macOS development.

I think PyQt is a more robust solution for GUIs, and it gives you cross-platform compatibility basically for free - although packaging is probably a bit harder.


pyqt works pretty well with it. I just gave it a try with QGIS (a open source GIS application) and it uses PyQt

http://nathanw.net/2014/12/04/using-hy-a-dialect-of-lisp-for...


Will have to dig into this. Seems pretty, would be nice to pick apart the API, looks like Python with PyQt is what most utilities are written in. The crux with not being mac/windows is driver performance. It's a bummer it takes such a massive effort to support hardware.

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

I've had fantastic luck using pyqt5 in the past, but it kind of bothers me that both pyqt and pyside both exist. They look nearly identical, and I never know if I'm using something which will eventually be dead.

I’ve had success bundling pyQT GUI apps with pyInstaller so it can definitely be done with python.

Ars Technica had an article a while ago on how to deploy standalone Python applications written using PyQt: http://arstechnica.com/open-source/guides/2009/03/how-to-dep...

That's probably your best bet for cross-platform Python applications if you need a GUI.


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

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

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

Does the binary size matter? Memory footprint is more important.

There's always PyQt which works cross platform


If you don't want to pay for a commercial license, just use PySide. It's LGPL-licensed and has nearly exactly the same API as PyQT. So near that when I switched out PyQT with PySide, all I had to do was change two import statements throughout a ~3000 python gui application.

What about PySide or PyQt?

PyQt and PySide was exactly what I had in mind. It'll leak memory, segfault on load 1% of the time, segfault if you call unrelated methods in the wrong order, you'll randomly get QStrings and QExceptions instead of their Python equivalents, and it'll be impossible to debug.
next

Legal | privacy