Live data from Hacker News

Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

news.ycombinator.com

71–77 of 77 posts

Re: Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

#71

My personal experience in using QT apps is that they load / render perceptibly slower than the native UIs and QT applications are slightly bulkier in size (storage space and memory). This is kind of understandable as QT emulates the UI through its own library (unlike, say, Lazarus IDE / Delphi GUI library that directly use the native UI library). However, size doesn't matter much today, and the very minor rendering d…

What operating system are you referring to?

On Linux, Qt does have any underlying UI to emulate. On many others, my understanding is that this "emulation" is just theming. And on others it requires to draw on non optimized video buffers, which then become noticeable.

Re: Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

#72

Earlier quoted context omitted.

Cutefish is very rough. I do like the look and feel, but I didn't like having what felt like a tablet OS on my desktop. I will give it some more time to develop though. I love the direction they are going in.

What do you mean by rough? Not as smooth and responsive as say iPhone or iPad or Macbook?

I think it’s responsive enough, it just doesn’t do very much... e.g. app launcher is just a full-screen grid of icons in seemingly random order. At least being able to sort by name or something would be better.

Re: Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

#76
post #50

Earlier quoted context omitted.

Things are not so peachy over in Linux. I do see Qt 6 in MSYS2 though, so maybe I can use it only for my Windows builds.

What Linux distribution? Arch Linux has shipped Qt 6 for months, and Qt ships a web installer too (but it requires a Qt account and doesn't install the shared objects in a global location that apps can find).

I'm interested in Qt 6 for Ubuntu 16.04 which is currently what I build my AppImages on.

Re: Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

#77

Earlier quoted context omitted.

Qt still hasn't figured out to work with Windows desktop scaling. It's a nightmare on high-DPI displays. I wrestled with this 5 years ago and it's still not fixed.

It's a lot more complicated than that. I'm speaking from experience with Qt 5.14-15 and Qt 6. Qt 5 defaults to "DPI scaling off", where text is enlarged but 1px is always 1px regardless of the current scale (so UI elements sized in px can end up too small on HiDPI displays). It has a mode with DPI scaling on, where 1px could be a fractional or integer number of on-screen pixels. Qt 6 only supports this latter mode. Q…

Well that's reassuring to hear that Qt6 is no better at this. Thankfully I'm not working on desktop apps anymore and I can stay on 5.15 LTS.
Post reply on HN