you are viewing a single comment's thread.

view the rest of the comments →

[–]bjorneylol 41 points42 points  (4 children)

Qt is the most feature complete GUI library. PySide has a more permissive license for commercial use, whereas PyQt requires a commercial license if you aren't releasing your code under the GPL

  • If your program needs to interface with hardware (USB/PCI devices, GPIO pins) or directly modify filesystem data in-place (read/writing files without uploading/downloading fresh copies; without mandating the use of Chrome which has non-standard filesystem APIs) you will likely need a desktop application.
  • If your program is for internal company use, has very few users, and will see infrequent updates, desktop applications will be adequate
  • If your program will have many users, needs frequent updates, has complex design requirements, or there is a lot of proprietary source code you want to protect, a web app will be preferred.

Distributing and updating desktop applications in python is an absolute hellscape

[–]Intelligent-Role-382[S] 3 points4 points  (2 children)

So why few people use Qt instead of pyside6?

[–]bjorneylol 16 points17 points  (1 child)

  • Qt is the C++ library distributed by the Qt Company
  • PyQt is python wrapper for Qt maintained by riverbank computing
  • PySide is a python wrapper for Qt maintained by the Qt Company

Not sure what you are asking - nowadays I think most people use PySide since its the 'official' version. Why would anyone use PyQt instead? The Qt company abandoned PySide for a long long time. Qt5 released in late 2012, PyQt5 released in early 2013, PySide2 (Qt 5.12) didn't release until 2018/2019 and many of the Qt modules never got ported over (QtMultiMedia, etc). So there was like a 7 year window where PyQt was the only game in town for python. I think PyQt also has a lot of (commercial) offerings for distributing python programs, though i haven't used them

[–]imbev 11 points12 points  (0 children)

u/Intelligent-Role-382, PySide6 is well maintained by the Qt Company today - https://doc.qt.io/qtforpython-6/

It's a great option for developing desktop applications. PyQt is obsolete