Hacker News new | ask | show | jobs
by devwastaken 2759 days ago
Because qt UI is in all ways worse than what browsers can already do. All qt does for displaying web pages is it embeds chromium, same as electron does. Trying to tie c++ to that is shooting yourself in the foot if you can just use node, which electron does.
1 comments

> All qt does for displaying web pages is it embeds chromium, same as electron does.

It doesn't:

> WebView is a component for displaying web content which is implemented using native APIs on the platforms where this is available, thus it does not necessarily require including a full web browser stack as part of the application. [0]

[0] http://doc.qt.io/qt-5/qml-qtwebview-webview.html

It does. https://wiki.qt.io/QtWebEngine

Webview is unreliable and not used by electron apps for a reason, you cannot control anything about it. You're stuck with whatever native browser the system has. That's alright for basic things, but hardely what you'd sanely deploy tech that relies upon modern js.

Not sure what's meant by 'native browser.'. My last gui app used qt-webkit and webviews. It's not chromium and very controllable...
Native browser meaning the systems browser, like safari, or edge.