back

by LorenDB·3y ago·view on hn ↗
Wrong - I can use Qt and QML to make an app that compiles and runs, unmodified, on Windows, macOS, Linux, Android, iOS, and others. It can even run on web with WASM. And I wouldn't call web apps "native" or "the best".
2 comments
> I can use Qt and QML to make an app that compiles and runs, unmodified, on Windows, macOS, Linux, Android, iOS, and others.

As someone who is currently working on several QT apps that also work on mobile: That's an absolute lie. You need a lot of extra work to get it to work on both the desktop and mobile. Realistically you have to build the UI twice, QML is nowhere near as "responsive" as html/css. It's also prone to sluggishness.

I stick with Qt because I enjoy working in C++, it's just simpler to have the whole app in one language. My users also told me they dislike electron like you. But it's very disingenuous to tell people that Qt is "just as easy" to build desktop/mobile hybrid apps, they'll be sorely disappointed if they take your word.

That may be your experience, but for the right kind of app (e.g. simpler apps) I can confirm from experience that apart from setting up the Android app manifest, Qt apps don't need modifications to port, especially if you design convergence in from the get-go.
Developers want to take their web applications and turn them into desktop applications, not the other way around. The web is the master platform.

Qt has had decades to win over this space and failed. Github slapped Chromium together with Nodejs and took over the entire market of cross platform GUI development overnight.

I might not like it but I understand it completely.