Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Touch Problem with QT Scrollbar in QT5.9
QtWS25 Last Chance

Touch Problem with QT Scrollbar in QT5.9

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 589 Views
  • 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.
  • L Offline
    L Offline
    linuxsnail
    wrote on last edited by linuxsnail
    #1

    I have posted a query sometime back for QT5.9 rendering issue for qtwidgets. The link to the query is here: https://forum.qt.io/topic/93964/qt-widget-based-ui-rendering-slow-on-qt5-when-ported-from-qt4

    While I have still not found any solution for above, I have been facing another issue.

    We have a gui based on QT Widget and in gui @ 2-3 places we have used scrollbar to do some setting like time, date and some other parameters. The touch works absolutely fine with GUI except for this scrollbar. Whenever we try to scroll, it does not work. ts_calibrate works fine.

    what could be the reason for only scrolling not working but all other touch events works fine.

    Is it something related to absence of QWS in Qt5.9? Is it that in Qt4.8 touch events were also handled through qws?

    Again the same GUI scrollbar works absolutely fine with QT4.8 but only with QT5.9 along with rendering problem (refer to the link above), we are also facing this weird problem only for the touch events for scrollbar not working. What could be the problem?

    raven-worxR 1 Reply Last reply
    0
    • L linuxsnail

      I have posted a query sometime back for QT5.9 rendering issue for qtwidgets. The link to the query is here: https://forum.qt.io/topic/93964/qt-widget-based-ui-rendering-slow-on-qt5-when-ported-from-qt4

      While I have still not found any solution for above, I have been facing another issue.

      We have a gui based on QT Widget and in gui @ 2-3 places we have used scrollbar to do some setting like time, date and some other parameters. The touch works absolutely fine with GUI except for this scrollbar. Whenever we try to scroll, it does not work. ts_calibrate works fine.

      what could be the reason for only scrolling not working but all other touch events works fine.

      Is it something related to absence of QWS in Qt5.9? Is it that in Qt4.8 touch events were also handled through qws?

      Again the same GUI scrollbar works absolutely fine with QT4.8 but only with QT5.9 along with rendering problem (refer to the link above), we are also facing this weird problem only for the touch events for scrollbar not working. What could be the problem?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @linuxsnail
      for scrolling using touch events you should use QScroller

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      L 1 Reply Last reply
      0
      • raven-worxR raven-worx

        @linuxsnail
        for scrolling using touch events you should use QScroller

        L Offline
        L Offline
        linuxsnail
        wrote on last edited by
        #3

        @raven-worx
        The problem does not seem to be with gui application as the same gui works flawless with i.MX6 platform with LinuxFB but somehow does not work for board with i.MX35 with LinuxFB. Again with QT4.8 (uses qws) everything works flawless on i.MX35 as well.

        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