News for hackers. Stuff that matters.
Re:Ask HN: Why aren't devs making desktop apps any more? by Nicksil on Thursday March 24, 2022 @02:06PM (#30793425)
>I know there's a lot of hate in here for Electron, but it truly makes cross-platform desktop app development achievable for small companies and indies.

So does Qt

Re:Ask HN: Why aren't devs making desktop apps any more? by rathboma on Thursday March 24, 2022 @02:43PM (#30793806)
As a dev with a lot of experience in JS/HTML/CSS Electron makes things super easy, especially when it can be part of the regular build pipeline.

Learning Qt means figuring out a whole new stack and build chain. Maybe the result would be better, but with only a few hours a week I didn't feel like it would have been worth the time investment.

See for example:

https://nklayman.github.io/vue-cli-plugin-electron-builder/g...

Re:Ask HN: Why aren't devs making desktop apps any more? by DiggyJohnson on Thursday March 24, 2022 @04:39PM (#30795071)
> regular

I think the reason you consider the web app publishing pipeline the “regular” pipeline is the reason we’re having this discussion =p

Re:Ask HN: Why aren't devs making desktop apps any more? by duped on Thursday March 24, 2022 @02:22PM (#30793574)
Qt is not nearly as easy to use as Electron, especially if you're a small company and need to hire front end devs for cheap.

Also Qt GUIs look like garbage, but it's hard to quantify why.

Re:Ask HN: Why aren't devs making desktop apps any more? by Nicksil on Thursday March 24, 2022 @03:11PM (#30794133)
>Qt is not nearly as easy to use as Electron, especially if you're a small company and need to hire front end devs for cheap.

Sure it is.

>Also Qt GUIs look like garbage, but it's hard to quantify why.

No more garbage-like than you're getting with Electron and just as style-able (with arguable superior layout engines). Qt has a number of style palettes; perhaps you're used to using applications which chose to use non-native/standard palettes.

Re:Ask HN: Why aren't devs making desktop apps any more? by smoldesu on Thursday March 24, 2022 @03:48PM (#30794540)
I've written apps with GTK, Qt and Electron in the past. Of the three frameworks, Qt is easily the hardest (albeit "the best" for cross-platform native development). I'm not sure what your experience is with it, but I never once felt like it was easier than writing an Electron app.
Re:Ask HN: Why aren't devs making desktop apps any more? by stnmtn on Thursday March 24, 2022 @03:48PM (#30794534)
What are some examples of great-looking QT applications?
Re:Ask HN: Why aren't devs making desktop apps any more? by antiframe on Thursday March 24, 2022 @05:25PM (#30795525)
Kdenlive, Okular, KeePassXC, Dolphin.
Re:Ask HN: Why aren't devs making desktop apps any more? by vmchale on Thursday March 24, 2022 @05:44PM (#30795689)
J has an IDE written in Qt. It's nice.
Re:Ask HN: Why aren't devs making desktop apps any more? by GnarfGnarf on Thursday March 24, 2022 @04:25PM (#30794929)
Qt has provided us with a solid multi-platform solution. If you want power and control, you always have to pay in complexity and learning curve.
Re:Ask HN: Why aren't devs making desktop apps any more? by allanrbo on Thursday March 24, 2022 @02:27PM (#30793619)
And wxWidgets :-)
Re:Ask HN: Why aren't devs making desktop apps any more? by foldr on Thursday March 24, 2022 @02:34PM (#30793711)
You do have to pay for Qt if your app isn't open source.
Re:Ask HN: Why aren't devs making desktop apps any more? by detaro on Thursday March 24, 2022 @02:58PM (#30794007)
No you don't. You can use LGPL just fine in commercial, non-open desktop apps.