Hacker News new | ask | show | jobs
by anakaine 1528 days ago
Python QT5 user here. I'm yet to find a better / faster way to build an interactive GUI for a simple desktop application for Python.

That said, I still hate trying to do basic stuff with Qt, for example using slots. Example: im calling an external script or process that could take 30 seconds to run. I'm doing this 50 times and using thread pooling to manage those workers. Try issuing an update to a widget to let the user know that its progressing. The slot setup barely makes sense, is a pain in the arse to understand, and I've not managed to do it successfully yet. The issue here is, its the main way of doing things and its a nebulous, poorly articulated concept in almost every bit of doc or guide, and very difficult to implement between the Designer and code of an existing application.

1 comments

The biggest issue for me was that you have to update widgets from the gui thread. Doing it from other threads still works most of the time, but then you sometimes get weird unpredictable crashes.