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

qmlint: Cannot resolve the argument type KeyEvent/MouseEvent

XMLWordPrintable

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

      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.
      

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

            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

              Created:
              Updated:

                There are no open Gerrit changes