Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2
-
None
Description
The Qt Quick "Text Editor" example allows the user to pass an argument, "-touch", that enables an interface that is better suited to touch devices.
When the executable is run and the "-touch" argument is passed to it, the following output is produced:
qt.qml.context: qrc:/qml/+touch/texteditor.qml:114:9 Parameter "text" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
qrc:/qml/+touch/texteditor.qml:171:21: Unable to assign [undefined] to bool
qrc:/qml/+touch/texteditor.qml:180:21: Unable to assign [undefined] to bool
qrc:/qml/+touch/texteditor.qml:189:21: Unable to assign [undefined] to bool
This is a result of the deprecation in https://codereview.qt-project.org/c/qt/qtdeclarative/+/334101.
The touch interface should be updated so as not to produce this warning.