Re: [Interest] QML Scene2D No Keyboard Events

2017-10-18 Thread Kevron Rees
On Tue, Oct 17, 2017 at 3:05 PM Jérôme Godbout wrote: > Make sure you forward the Keys to the elements that can handle them: > > Keys.forwardTo: [] > > You can take a look at > http://doc.qt.io/qt-5/qml-qtquick-keys.html#key-handling-priorities > you probably have something else that is grabbing

Re: [Interest] QML Scene2D No Keyboard Events

2017-10-17 Thread Jérôme Godbout
Make sure you forward the Keys to the elements that can handle them: Keys.forwardTo: [] You can take a look at http://doc.qt.io/qt-5/qml-qtquick-keys.html#key-handling-priorities you probably have something else that is grabbing the key event. Try to forward from your root Item to the your eleme

[Interest] QML Scene2D No Keyboard Events

2017-10-17 Thread Kevron Rees
I'm trying to get keyboard events to my qml item that is being displayed as a texture using Scene2D. I have simply added Keys.onPressed and MouseArea to LogoControls[2] in the Scene2D example[1]. If I uncomment MouseArea, I can see the mouse click console.log message. But I never see "key presse