Hey everyone! I'm looking to create desktop applications that work on both Windows and Linux, but I haven't settled on a framework yet. I'm curious about what you all prefer or recommend. I'm open to learning new programming languages, so I'm not stuck on one in particular. I've tried a few frameworks already and I definitely lean towards those that have more declarative UI designs rather than dealing with complicated XML. It's also important to me that whatever framework I choose stays relevant over the next few years. Just for reference, I'm not a total beginner in programming, but I'm still getting the hang of desktop and cross-platform app development. Thanks for your suggestions!
5 Answers
I've had a lot of success with Qt across different platforms like Windows, macOS, Android, and iOS. It’s pretty solid for cross-platform development!
I really like using Qt. It's very versatile and works across multiple platforms like Windows, macOS, and Linux. Plus, it's been around for a while, so it's likely to stick around as well!
Delphi is another option you might consider. It's been around for ages and has a strong community behind it. If you want something that's straightforward and has a lot of functionality, it might fit the bill for you.
I use GTK and I’ve had pretty good experiences with it. They even have a declarative UI format available! You can code in various languages, though it's primarily in C. I create flatpaks for Linux and compile EXEs for Windows. Just a heads up, the Windows build won’t look exactly native, but that hasn’t bothered me much since the Windows UI can be inconsistent anyway.
There's really no one-size-fits-all answer since it depends on your specific needs and preferences. However, if you're leaning towards a cross-platform approach with a declarative UI, I'd suggest starting with Electron. It's super popular, easy to jump into since you write in JavaScript, and has tons of community support. The downside is that it can be a bit heavy on RAM, and you will be writing both your UI and non-UI code in JavaScript. If you want something lighter, take a look at Tauri instead. Also, React Native could fit your needs if you want a more declarative style without the fuss of XML-like layouts. Just steer clear of frameworks like Swing or JavaFX if you're not into that!

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically