Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.1.0, 6.2.0
-
669f820b8704cf3952e9b7c90f3c4b663f39d62e (qt/qtvirtualkeyboard/dev) dd06141d2cd6bd9471d0bf0ea2a597c8e324bb27 (qt/qtvirtualkeyboard/6.1) 3663d599c6a1f8d29c7937e632e44b3396114abe (qt/qtvirtualkeyboard/6.1.1)
Description
In Qt6, Injection of parameters into signal handlers is deprecated. But in KeyBoard.qml, it is still using the old way to define signal handlers.
When trying the "Qt Quick Virtual Keyboard - Basic Example" and pressing any key on virtual keyboard, it gives following warnings:
qt.qml.context: qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:1119:21 Parameter "touchPoints" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead. qt.qml.context: qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:1183:21 Parameter "touchPoints" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.