Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. How to start QtWebKit in mobile mode?
Forum Updated to NodeBB v4.3 + New Features

How to start QtWebKit in mobile mode?

Scheduled Pinned Locked Moved Solved Qt WebKit
3 Posts 2 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JohannesBauer
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JohannesBauer
      wrote on last edited by
      #2

      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

      K 1 Reply Last reply
      0
      • J JohannesBauer

        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

        K Offline
        K Offline
        Konstantin Tokarev
        wrote on last edited by
        #3

        @JohannesBauer Could you elaborate what mean "rudimentary" and what are you lacking? Thanks!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved