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

REG: Styled QPushButton does not respond to clicks on macOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.15.1
    • 5.15.0
    • GUI: Look'n'Feel
    • None
    • macOS 10.14.6, Qt 5.15, Xcode 10.3
    • macOS
    • f9940b15f7f0fde731431626172939b9821fd660

      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.

        1. stylesheet.zip
          38 kB
          Robert Wong
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes