Description
QRunnable *QRunnable::create(std::function<void ()> functionToRun) isn't available in PySide2 (5.15.8) and PySide6 (6.4.2).
It's not a dealbreaker; the workaround is to create a wrapper class that inherits from QRunnable and implements run(). It's just a little more verbose, so it'd be convenient to be able to use QRunnable.create.
Note that QRunnable.create is available in competing Qt bindings.
Attachments
Issue Links
- relates to
-
PYSIDE-1896 Unclear how to use QtConcurrent from PySide6
- Reported
-
PYSIDE-1202 QFuture & QFutureInterface bindings are badly needed QtCreator python bindings
- Reported
-
PYSIDE-2279 PySide 6.5.0: PySide6.QtCore.QRunnable.create()
- Open