That's one way of looking at it, but remember that Electron is better and free even if you don't release your code. On mobile, you have Flutter, React Native... In this situation, why would anybody want to go with Qt, unless they have an existing, legacy codebase? Who's starting new projects in Qt?
Electron is better if your only metric to evaluate quality is "can I use it in my proprietary product?".
I work in a company that uses electron. The amount of time the UI guys spend to reimplement things that are already in Qt is incredible (for example a portable tray icon, menus, tabbing).
Yes we are saving money on license (but spending probably much more on developers reimplementing things).
> Who's starting new projects in Qt?
People who want portability and are aware that not everybody has 32GB of RAM like their overly expensive developer machine?
People that do not feel like reimplementing things that have existed for ages is fun?
People who do open source and do not have to pay for a license, and thus have no reason to "save money" and use electron?
I second this. On the projects where I work,
I see a lot of 117 reinventions of square wheels,
with their accompanying bugs, for things like
multi-column lists, scroll, selection models, and drop-downs.
And I know we used to have those things as built-in
standard-widgets, where you had to put in extra effort, in order to F them up.
I have an open bug registered on the aurelia framework
concerning virtual scroll sometimes breaks when you reach the edges.
The answer from the maintainer could be translated to
"the guys who understood this code is no longer here".
I tried to figure it out from the source code, and came to the same
conclusion.
It's as if, ever since we got a full set of widgets available on
desktops, we have been busy re-inventing them from scratch in other idioms
(notably in the HTML DOM.)
This. It is incredibly easy to underestimate the functionality in a fully-fledged widget set, especially once you factor in accessibility integrations. UI development is 10% shiny, 90% edge-case.