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

qmlint: Cannot resolve the argument type KeyEvent/MouseEvent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.0
    • None
    • All

    Description

      function handleMouse(mouseE : MouseEvent) {
      }
      
      function handleKey(keyE: KeyEvent) {
      }
      
      

      results in

      :-1: error: Test.qml:16:5: Could not compile function handleMouse: Cannot resolve the argument type MouseEvent.
      
      :-1: error: Test.qml:16:5: Could not compile function handleKey: Cannot resolve the argument type KeyEvent.
      

      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
            Harald Meyer Harald Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes