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

QApplication::widgetAt() always returns nullptr

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • None
    • 6.7.1, 6.7.2, 6.8.0 Beta1
    • GUI: Other
    • None

      This seems to be a regression, as the attached program works properly when built against Qt 5.15.14, but always displays "No widget" when built against Qt 6.7.1. Apparently, QApplication::widgetAt(QCursor::pos()) always returns nullptr with Qt 6.7.1.

        1. main.cpp
          0.7 kB
          Jaak Ristioja
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            liaqi Liang Qi
            jotik Jaak Ristioja
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes