4 ms·
Is is possible to use QML in a PyQt/PySide2 app? Using QML for interface and Python for logic would make perfect sense. But every PyQt article and tutorial I se
by smnrchrds 9y ago
Is is possible to use QML in a PyQt/PySide2 app? Using QML for interface and Python for logic would make perfect sense. But every PyQt article and tutorial I see is about QtWidgets.
- mottosso 9y agoYes, PyQt4/5 has supported this since it was first introduced, PySide2 just recently got some support for it although it is incomplete. Source: I maintain a Python/QML library https://github.com/pyblish/pyblish-qml https://github.com/pyblish/pyblish-qml
- pknopf 9y agoWe use PyOtherSide for exactly this. Works perfectly. I'm also working on a similar solution for .NET Core: https://github.com/pauldotknopf/net-core-qml https://github.com/pauldotknopf/net-core-qml
- StavrosK 9y agoDo you need PySide2 to support QML in order to use the Qt Designer?