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

QStyle::SP_LineEditClearButton on mac doesn't have a standard pixmap

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 5.6.2
    • 5.7.0
    • Widgets: Styles
    • None
    • El Capitan, 10.11.5.
    • macOS
    • 25db59d7723c3d05ff55104768da31b0a7ce68ee (qtbase/5.6, 1.7.2016, 5.6.2)

    Description

      Missing standard icon on Mac OSX.
      This works and returns a pixmap:
      QPixmap p = QApplication::style()->standardPixmap(QStyle::SP_TitleBarCloseButton);

      This doesn't:
      QPixmap p = QApplication::style()->standardPixmap(QStyle::SP_LineEditClearButton);
      The clear button on QLineEdit doesn't show on mac.

      Attachments

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              flappy Will Bligh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes