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

QProxyStyle chooses a wrong base style when the app style is set by QT_STYLE_OVERRIDE

    XMLWordPrintable

Details

    • 4d10e55d4d666f5557a51d43a1bd4b1f172829ac

    Description

      1) Inherit your own style from QProxyStyle and don't override painting
      2) Set this style for a widget
      3) Run you app with QT_STYLE_OVERRIDE=windows
      4) The widget will be painted in the default style (Fusion) instead of Windows style
      But if you run your app with -style windows, then everything will be ok.

      Attachments

        1. qtbug52596.zip
          2 kB
        2. wrong_style.png
          wrong_style.png
          9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avolkov Alexander Volkov
            avolkov Alexander Volkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes