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

Warnings with virtual keyboard in Qt 6

    XMLWordPrintable

Details

    • 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.
      

      Attachments

        For Gerrit Dashboard: QTBUG-93997
        # Subject Branch Project Status CR V

        Activity

          People

            jakoivik Jarkko Koivikko
            shmittal Shveta Mittal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes