News for hackers. Stuff that matters.
Re:Ask HN: How to do cross platform GUI? by making3 on Sunday August 23, 2020 @04:25AM (#24250500)
Are there any modern applications / examples built with Qt? This is the screenshot from the Wikipedia article:

https://upload.wikimedia.org/wikipedia/commons/e/e8/Qt_Creat...

I always see Qt mentioned, so I'm definitely not trying to discredit it. I just never seem to see common examples with it compared to something written in Electron.

Re:Ask HN: How to do cross platform GUI? by genezeta on Sunday August 23, 2020 @05:03AM (#24250645)
Maya, Krita, Octave, OBS, Scribus, Virtualbox, Wireshark. These all have fairly modern Qt GUIs and you can find screenshots around easily enough.

The comparison to Electron is somewhat flawed though. I mean, the GUI in an Electron application owes much more to whatever library they choose than to the fact that it runs inside Electron. Electron provides no particular GUI elements to the developer.

Re:Ask HN: How to do cross platform GUI? by mkoubaa on Sunday August 23, 2020 @09:38AM (#24251854)
Besides, QtWebEngine allows you to embed chromium into a QT app which means you can effectively get a similar stack as electron but also have the option to use desktop native widgets
Re:Ask HN: How to do cross platform GUI? by TeMPOraL on Sunday August 23, 2020 @04:55AM (#24250615)
Check out Ripcord - https://cancel.fm/ripcord/. It's a third-party Slack & Discord client written in Qt.

Now, don't let the screenshots color your impressions as to what kinds of UI designs are possible under Qt: Ripcord's UI is bare-bones on purpose; it's a selling feature. I bring up this application because it lets you do a more apples-to-apples comparison: IM clients these days are a poster child of an Electron app that uses orders of magnitude more resources than they should for the functionality provided. Ripcord lets you compare the experience and performance with a native app, implementing the same features but without overhead and gratuitous UI shine.

(And personally, I do use it for Slack/Discord instead of official clients.)

Re:Ask HN: How to do cross platform GUI? by jasode on Sunday August 23, 2020 @12:02PM (#24252787)
>I just never seem to see common examples with it compared to something written in Electron.

Autodesk Fusion 360 uses Qt[1]. (It's 3D CAD modeling software like Solidworks/Inventor). Some screenshots of its UI : https://www.google.com/search?q=%22autodesk+fusion+360%22+ui...

CAD/CAM modeling software is resource intensive and users always complain about slow performance when manipulating big files so writing that type of app in Electron/Chrome/Javascript browser engine would be worse than native C++/Qt.

That said, another competitor Onshape is browser-based and yes, people do complain about its performance.

Some other well-known desktops using Qt are Autodesk Maya and Wolfram Mathematica.[2]

[1] https://forums.autodesk.com/t5/fusion-360-api-and-scripts/wh...

[2] https://en.wikipedia.org/wiki/Category:Software_that_uses_Qt

Re:Ask HN: How to do cross platform GUI? by johnflan on Sunday August 23, 2020 @09:07AM (#24251633)
I believe many modern car digital dashboards are written in Qt too
Re:Ask HN: How to do cross platform GUI? by stjohnswarts on Sunday August 23, 2020 @02:42PM (#24254206)
Qt embedded is actually pretty nifty. I converted an old GTK "bare metal" interface UI over to Qt once while keeping the "business" logic basically the same other than a couple of tweaks, it went pretty well. The app was pretty well partitioned between backend logic and GUI logic so it wasn't a bad experience at all. All in C++
Re:Ask HN: How to do cross platform GUI? by thebruce87m on Sunday August 23, 2020 @07:22PM (#24256146)
How did you do licensing? That’s the killer for me on bare-metal.
Re:Ask HN: How to do cross platform GUI? by stjohnswarts on Tuesday August 25, 2020 @06:04PM (#24276739)
I wasn't in on that, we had licensing, and I'm sure it was paid for. It was a medical devices company so they had pretty deep pockets.
Re:Ask HN: How to do cross platform GUI? by butz on Sunday August 23, 2020 @04:33AM (#24250536)
Re:Ask HN: How to do cross platform GUI? by eblanshey on Sunday August 23, 2020 @11:07AM (#24252421)
I'm very happy with the VNote UI, which uses Qt. It's an open source markdown note-taking app. Check out the dark themes.