Remix.run Logo
dotancohen a day ago

I write all my Qt in Python. I've never used the C++ bindings. But in Python you don't need to deal with QML or JavaScript.

amelius a day ago | parent | next [-]

I did some Qt programming in Python (PySide6), but ran into segfaults, which should of course not happen no matter what you do in a scripting language (except when using modules like ctypes). Many of these cases were related to object lifetime handling which is difficult to do correctly in Qt, and many people have written about it. In Python (a garbage-collected language) one should not have to worry about this.

dotancohen 18 hours ago | parent [-]

I also use PySide. No segfaults, but I'm not doing anything complicated.

wonklebonkle a day ago | parent | prev [-]

Are you writing QtWidgets or QtQuick in Python? My understanding is that QML is mandatory for QtQuick apps.

dotancohen a day ago | parent [-]

I use QtWidgets. I've never touched QtQuick.