Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-97657

Calling Qt Quick "Text editor" example with the "-touch" argument produces a warning

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2
    • Examples and Demos
    • None
    • Linux/Wayland

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            diseraluca Luca Di Sera
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes