Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. "Image Gestures Example" from Qt does not work in desktop os?
Forum Updated to NodeBB v4.3 + New Features

"Image Gestures Example" from Qt does not work in desktop os?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 565 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.
  • S Offline
    S Offline
    saber
    wrote on last edited by aha_1980
    #1

    i am in qt5.11 and linnux.
    i want to add swipe gesture in my desktop app that build on c++.
    so i wanted to see if the given example given by the qt works or not,but it is not working ,it dose not get ant gesture.

    Image Gestures Example
    is gesture support needs a touchscreen ,but only swipe gesture dose not need a touchscreen.

    jsulmJ J.HilkJ 2 Replies Last reply
    0
    • S saber

      i am in qt5.11 and linnux.
      i want to add swipe gesture in my desktop app that build on c++.
      so i wanted to see if the given example given by the qt works or not,but it is not working ,it dose not get ant gesture.

      Image Gestures Example
      is gesture support needs a touchscreen ,but only swipe gesture dose not need a touchscreen.

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @saber said in "Image Gestures Example" from Qt dose not work in desktop os?:

      is gesture support needs a touchscreen ,but only swipe gesture dose not need a touchscreen.

      Hm, yes if you want gestures you need touch screen - how else it could work?
      "but only swipe gesture dose not need a touchscreen" - it does need touch screen.
      So, do you have a touch screen?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S saber

        i am in qt5.11 and linnux.
        i want to add swipe gesture in my desktop app that build on c++.
        so i wanted to see if the given example given by the qt works or not,but it is not working ,it dose not get ant gesture.

        Image Gestures Example
        is gesture support needs a touchscreen ,but only swipe gesture dose not need a touchscreen.

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @saber said in "Image Gestures Example" from Qt dose not work in desktop os?:

        is gesture support needs a touchscreen ,but only swipe gesture dose not need a touchscreen.

        Most questures need multiple touch points. 2 and more, Swipe technically only needs one finger to function correctly, so that may be the reason why that one works for you.

        Because Qt interprets any touch event as a "MouseEvent" you'll end up having problems on non touch screens. YOu'll have to do your own 1 finger gesture handling or connect more than 1 mouse.


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        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