Qt3D Mouse Input and Picking info



  • I'm new to Qt3D and am looking for any documentation I can find for working with Mouse Inputs and Picking in Qt3D. I cloned the qt3d repo and got their example code built after editing (I'm using CMake instead of QMake) but I keep getting either seq faults when it's ran or a blank screen. I tried their code on my existing code where qt3d displays fine but mouse input events are never seen when I try to click on any entity. Searches have shown up nothing much and the API doc even less.

    If you're interested, I made a repo with my test code maybe you can see something that I'm missing.
    github repo


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What version of Qt are you using ? On what OS ?



  • @SGaist I'm on ArchLinux and using Qt 5.5.1-8. The OpenGL version is 3.0 using Mesa 11.1.0.


  • Lifetime Qt Champion

    Sorry for the late reply, I've checked you example and also had some trouble.

    In any case, with a recent build of Qt and after replacing all the Qt3DRenderer by Qt3DRender, I could run it properly. You should take a look at Qt 5.6 Beta/RC to see if you still have that problem.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.