this post was submitted on 07 Jun 2024
35 points (88.9% liked)
Programming
17398 readers
105 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Nothing does cross-platform desktop apps as well as Qt.
Definitely not Electron, which is very wasteful of system resources and has endless desktop integration bugs. Not Flutter. Not WxWidgets. Not Gtk. Not any of the various Java or Rust frameworks. Not Dear ImGui. Nothing. (Well, I haven't tried Lazarus yet, but it requires a language that's not on your list, so is probably not relevant here.)
Some of the newer frameworks might shape up eventually, but it would take years of focused effort. This is an area of computing that is difficult to do well.
Of those languages, I would choose Python with either PySide or PyQt. If my interface needs were very simple, I might also consider Qt Quick, which lets you build GUIs with JavaScript and a declarative language called QML.
Thanks i will look into PySide and PyQt. I also think all kde apps are build with Qt
I can vouch for PyQt, it works quite well for what it is. Be aware you might have to dig into the C++ docs if you're trying to do something non-trivial.
If you like, you can use Qt Creator to build the GUI template, and then basically import into Python and build all the logic.