Important: Please read the Qt Code of Conduct -

Scrolling content in QGraphicsWebView

  • Hi Qt experts,

    Here's my problem. I have a fairly complex Qt app with a UI based on QGraphicsItems, written back in the days of Qt 4 (it now builds fine on 5.3). The app also needs a couple of web views - and I use QGraphicsWebView.

    Now, by default, the QGraphicsWebView has some scrollbars and this is sort of ok with a mouse. But on a mobile device, it just doesn't work well enough. Ideally, users should be able to flick scroll.

    What's the best way to get QGraphicsWebView to feel sleek on mobile? I was looking at QScroller but couldn't get it going. Is there an example for this? Should I be looking elsewhere?


Log in to reply