Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. No such method GraphicsView::inputMethodQuery(Qt::InputMethodQuery,QVariant)

No such method GraphicsView::inputMethodQuery(Qt::InputMethodQuery,QVariant)

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 942 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    patrickkidd
    wrote on last edited by
    #1

    I wonder why this non-existent method would be called on my QGraphicsView subclass, and only on iOS and not macOS? inputMethodQuery exists on QGraphicsView, but only has one argument not two.

    QMetaObject::invokeMethod: No such method View::inputMethodQuery(Qt::InputMethodQuery,QVariant)

    Sometimes I also see this same error but on on QQuickWidget and not my QGraphicsView subclass.

    Thanks!

    https://alaskafamilysystems.com/

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Are you using the virtual keyboard module ?
      Do you have some line edits ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      P 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Are you using the virtual keyboard module ?
        Do you have some line edits ?

        P Offline
        P Offline
        patrickkidd
        wrote on last edited by
        #3

        @sgaist said in No such method GraphicsView::inputMethodQuery(Qt::InputMethodQuery,QVariant):

        Hi,

        Are you using the virtual keyboard module ?
        Do you have some line edits ?

        I am not using the virtual keyboard (QtQuick does not handle the iOS keyboard properly on kb focus, no idea why this bug is only "important" in the tracker).

        I do have some QLineEdits on the backend as a workaround for the above bug- what are you thinking?

        https://alaskafamilysystems.com/

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          What bug report is that ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          P 1 Reply Last reply
          0
          • SGaistS SGaist

            What bug report is that ?

            P Offline
            P Offline
            patrickkidd
            wrote on last edited by
            #5

            @sgaist said in No such method GraphicsView::inputMethodQuery(Qt::InputMethodQuery,QVariant):

            What bug report is that ?

            https://bugreports.qt.io/browse/QTBUG-73052

            https://alaskafamilysystems.com/

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved