Solved How to start QtWebKit in mobile mode?
-
Hello,
I compiled QtWebKit 5.6.1 for Embedded Linux supporting platforms xcb as well as eglfs.
However when I start QtWebKit according to https://doc.qt.io/archives/qt-5.5/qtwebkit-goes-mobile.html, it starts in desktop mode showing scrollbars instead of supporting touch scrolling. This happens for xcb as well as for eglfs.
How can I force QtWebKit to start in mobile mode?
By the way, QtWebEngine supports touch scrolling, but has a big performance issue for JavaScript. Therefore it is unusable for our application.
Thanks in advance for any hint.
Johannes -
Hello,
the conclusion is that Qt WebKit out-of-the-box only supports rudimentary touch scrolling on the viewport when started as WebView from QtQuick. In order to get full touch scrolling support, you need to use Qt WebEngine (which is facing other issues with JavaScript - see https://bugs.chromium.org/p/chromium/issues/detail?id=666852).
Cheers
Johannes -
Hello,
the conclusion is that Qt WebKit out-of-the-box only supports rudimentary touch scrolling on the viewport when started as WebView from QtQuick. In order to get full touch scrolling support, you need to use Qt WebEngine (which is facing other issues with JavaScript - see https://bugs.chromium.org/p/chromium/issues/detail?id=666852).
Cheers
Johannes -
@JohannesBauer Could you elaborate what mean "rudimentary" and what are you lacking? Thanks!