>> On 16 Jun 2016, at 17:42, Jason H <jh...@gmx.com> wrote:
>> 
>> I tried using Keys on an application window. I got an error that it is not 
>> an item. While it's trivial to throw an item in, why isn't it an Item?
> 
> Because QML Window is not an Item. I'd like the Keys attached property work 
> regardless, though. It should just forward it to the content item of the 
> window. This has been discussed several times, but I don't remember why it 
> wasn't done yet.

A good point in the comments of https://bugreports.qt.io/browse/QTBUG-28957 
that you're probably better off with the Shortcut QML type.

--
J-P Nurmi
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to