Hacker News new | past | comments | ask | show | jobs | submit login

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.

We 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

Yes, 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

Do you need PySide2 to support QML in order to use the Qt Designer?

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact