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

REG: Styled QPushButton does not respond to clicks on macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.15.0
    • Fix Version/s: 5.15.1
    • Component/s: GUI: Look'n'Feel
    • Labels:
      None
    • Environment:
      macOS 10.14.6, Qt 5.15, Xcode 10.3
    • Platform/s:
      macOS
    • Commits:
      f9940b15f7f0fde731431626172939b9821fd660

      Description

      I recompiled my code with the new Qt 5.15 on macOS and all my styled push buttons stopped responding to clicks! So I tested the stylesheet example that came with the Qt installation, same behavior! With Qt 5.14.2 everything is fine. 

      Please see attached source codes. It is modified from the original stylesheet example. I added a slot to respond to clicks in the code. With Qt 5.14.2, qDebug() prints out clicked object. With Qt 5.15 it prints nothing.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              vhilshei Volker Hilsheimer
              Reporter:
              wtbuck Robert Wong
              Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes