Live data from Hacker News

Qt or HTML5? A Million Dollar Question

embedded-computing.com

21–30 of 88 posts

Re: Qt or HTML5? A Million Dollar Question

#21
post #10

I've done both and the real answer is "it depends". If performance is all that matters, the yes, it's Qt hands down. But Qt is also significantly harder to develop and maintain, especially if you want optimized application for minimal hardware.

Qt is really easy to start with. You can have primitive crosscompiled touchscreen application in couple days without prior experience.

Re: Qt or HTML5? A Million Dollar Question

#22
post #13
post #10

I've done both and the real answer is "it depends". If performance is all that matters, the yes, it's Qt hands down. But Qt is also significantly harder to develop and maintain, especially if you want optimized application for minimal hardware.

If you want an optimized application for minimal hardware then surely HTML isn't an alternative anyway? Not sure I agree that QT is harder to develop and maintain, it depends on what you are used to.

"If you want an optimized application for minimal hardware then surely HTML isn't an alternative anyway?"

That was the question on linked article. These days HTML becomes viable even on low-end hardware, it's even standard on some appliances (i.e. home routers) and this question is very common.

"Not sure I agree that QT is harder to develop and maintain, it depends on what you are used to."

General census is that writing clean C++ (QML was still lacking the last time I used Qt, though it might have changed since then) is a bit harder than creating HTML page.

Re: Qt or HTML5? A Million Dollar Question

#23
post #21
post #10

I've done both and the real answer is "it depends". If performance is all that matters, the yes, it's Qt hands down. But Qt is also significantly harder to develop and maintain, especially if you want optimized application for minimal hardware.

Qt is really easy to start with. You can have primitive crosscompiled touchscreen application in couple days without prior experience.

It might be easy for programmer, but try to explain cross-compilation and hardware specific optimizations for your designer or front-end developer. HTML, on the other hand, is reasonably easy for everyone.

Re: Qt or HTML5? A Million Dollar Question

#24
post #21
post #10

I've done both and the real answer is "it depends". If performance is all that matters, the yes, it's Qt hands down. But Qt is also significantly harder to develop and maintain, especially if you want optimized application for minimal hardware.

Qt is really easy to start with. You can have primitive crosscompiled touchscreen application in couple days without prior experience.

Yes, but compare that to hours in HTML5

Also consider a QT app is much harder to style and make it look good

People with HTML5 experience is much easier to find

I'm not against QT, quite the contrary, but it's a technology that has a higher entry barrier and fewer people with experience on it

Re: Qt or HTML5? A Million Dollar Question

#25
post #22
post #13

Earlier quoted context omitted.

If you want an optimized application for minimal hardware then surely HTML isn't an alternative anyway? Not sure I agree that QT is harder to develop and maintain, it depends on what you are used to.

"If you want an optimized application for minimal hardware then surely HTML isn't an alternative anyway?" That was the question on linked article. These days HTML becomes viable even on low-end hardware, it's even standard on some appliances (i.e. home routers) and this question is very common. "Not sure I agree that QT is harder to develop and maintain, it depends on what you are used to." General census is that wri…

I think you are confused, home routers don't even render HTML but let the insanely powerful client do the actual work.

Javascript isn't exactly known for maintainability and clean code either. I'd much prefer C++ for proper applications.

Re: Qt or HTML5? A Million Dollar Question

#27
post #21

Earlier quoted context omitted.

Qt is really easy to start with. You can have primitive crosscompiled touchscreen application in couple days without prior experience.

Yes, but compare that to hours in HTML5 Also consider a QT app is much harder to style and make it look good People with HTML5 experience is much easier to find I'm not against QT, quite the contrary, but it's a technology that has a higher entry barrier and fewer people with experience on it

HTML5 is easier if you already know HTML / CSS / JS. Qt Quick is easier otherwise.

If you're developing for the desktop, Qt Widgets is definitely the way to go. No, you can't (easily) style it in your own weird, custom, way. Please don't, I want it to fit in with all the other applications on my desktop.

Re: Qt or HTML5? A Million Dollar Question

#28
post #23
post #21

Earlier quoted context omitted.

Qt is really easy to start with. You can have primitive crosscompiled touchscreen application in couple days without prior experience.

It might be easy for programmer, but try to explain cross-compilation and hardware specific optimizations for your designer or front-end developer. HTML, on the other hand, is reasonably easy for everyone.

Your designer shouldn't be doing any development. If your front-end developer doesn't understand cross-compilation, they're a web designer, and you need to hire someone else to do the development.

Re: Qt or HTML5? A Million Dollar Question

#29
post #25
post #22

Earlier quoted context omitted.

"If you want an optimized application for minimal hardware then surely HTML isn't an alternative anyway?" That was the question on linked article. These days HTML becomes viable even on low-end hardware, it's even standard on some appliances (i.e. home routers) and this question is very common. "Not sure I agree that QT is harder to develop and maintain, it depends on what you are used to." General census is that wri…

I think you are confused, home routers don't even render HTML but let the insanely powerful client do the actual work. Javascript isn't exactly known for maintainability and clean code either. I'd much prefer C++ for proper applications.

Yes, router was not the best example, it was to illustrate that writing HTML interface is already common, not necessarily GUI. But there are plenty of devices that use HTML for GUI as well, some new PoS terminals comes to mind[0].

0. https://ingenico.us/smart-terminals/telium-tetra/payment-ter...

Re: Qt or HTML5? A Million Dollar Question

#30
post #26

This article purely concentrates on mobile - keep that in mind. There is no debate the native is better than web apps - but now we have React Native so... I am not sure what the point is here.

from what I understand it talks about embedded devices (a screen on a fridge or in an airplane). It doesn't say which one is better - it makes an argument based on cost.
Post reply on HN