Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Problem with dragging
Forum Update on Monday, May 27th 2025

Problem with dragging

Scheduled Pinned Locked Moved QML and Qt Quick
8 Posts 2 Posters 1.6k 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
    sango
    wrote on last edited by
    #1

    hi, all.
    i have a problem with dragging some elements in qml. in project i have c++ class 'classA' (Inherits QQuickItem). this class overrides touchEvent method for manage OpenGL object.
    also i have some standard GUI elements from QtQuick 2.0.
    the problem with listView and pathView: if i start second movement while first movement in flicking, touchEvent gone to 'classA' and i see movement at GUI element and at OpenGL object, thats wrong.
    in my trying to fix that problem i find that in normal condition (when movements not overlap), FlickEnded happens before DragStarted of next movement. in 'problem' FlickEnded does not occur at all.
    please help.

    qt version - 5.2, if that important

    i cant provide code due to copyright. but possibly write simple example if need.

    it seems to be related to embedded linux on tabletPC with touch screen only, this problem dont produce at PC.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Vincent007
      wrote on last edited by
      #2

      sorry, I replied wrongly. Please ignore this post.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sango
        wrote on last edited by
        #3

        ok

        1 Reply Last reply
        0
        • V Offline
          V Offline
          Vincent007
          wrote on last edited by
          #4

          Did you try QTPATH\examples\quick\draganddrop on your tabletPC??
          Does it work properly?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sango
            wrote on last edited by
            #5

            does QTPATH is a dir, where Qt installed?

            1 Reply Last reply
            0
            • V Offline
              V Offline
              Vincent007
              wrote on last edited by
              #6

              yes QTPATH is a dir. Did you install Qt? If yes, you should know where Qt is installed.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sango
                wrote on last edited by
                #7

                yes, i find it.
                i need some manipulation with EGl to make it work

                Warning: EGL suggested using X Visual ID 33 (RGB888) for EGL config 28 (RGB444), but this is incompatable
                Unable to find an X11 visual which matches EGL config 28
                Could not initialize EGL
                Aborted

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sango
                  wrote on last edited by
                  #8

                  now example work excellent

                  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