Python, Threads & Qt: Boom!
We will investigate problems and pitfalls that will occur when using threads & Qt together inside a Python application, including unexpected memory corruption and crashes.Abstract
Quick introduction to Python & Qt: PySide/PyQtThreading in Python & Qt: QThread, QRunnable, QFuture
Thread-safety and re-entrancy of QObjects & QWidgets
Inter-thread signals & slots
Event loops & long-running tasks
Memory corruption bugs in PySide & PyQt