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. QTouch3DInputHandler example?
Forum Updated to NodeBB v4.3 + New Features

QTouch3DInputHandler example?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
androidqtouch3dinputhadatavisualizatiwidgets
3 Posts 2 Posters 702 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.
  • Tom assoT Offline
    Tom assoT Offline
    Tom asso
    wrote on last edited by Tom asso
    #1

    How do I modify a datavisualization widget app C++ code to use QTouch3DInputHandler instead of Q3DInputHandler ? I'm adapting the Qt "surface" data visualization C++ widget example to run on Android, not just on the desktop.

    Tom assoT 1 Reply Last reply
    0
    • Tom assoT Tom asso

      How do I modify a datavisualization widget app C++ code to use QTouch3DInputHandler instead of Q3DInputHandler ? I'm adapting the Qt "surface" data visualization C++ widget example to run on Android, not just on the desktop.

      Tom assoT Offline
      Tom assoT Offline
      Tom asso
      wrote on last edited by Tom asso
      #2

      Per other examples I configure the "surface" app's Q3DSurface as follows:

      SurfaceGraph::SurfaceGraph(Q3DSurface *surface)
          : m_graph(surface)
      {
          m_graph->setActiveInputHandler(new QTouch3DInputHandler(m_graph));
      
      

      (where m_graph points to Q3DSurface)
      When run on my Android device the surface graph is displayed, but the app doesn't respond to my touch input, i.e. I cannot rotate, zoom, or select. In fact if I build the same app for the desktop, the app responds to mouse/wheel commands as usual - somehow it seems the QTouch3DInputHandler is not activated?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        maitai_vw
        wrote on last edited by
        #3

        Same problem exactly here, did you find any solution ?

        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