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

Qt style pluins fail to compile aganist Qt 5.15.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Won't Do
    • Affects Version/s: 5.15.0 RC2
    • Fix Version/s: None
    • Component/s: Core: Plugins
    • Labels:
      None
    • Platform/s:
      All

      Description

      The additional plugin style  code as cloned from https://code.qt.io/cgit/qt/qtstyleplugins.git/ fails to compile against Qt 5.15.2. The same plugin code compiles with Qt 5.14.2 without problems. Here is the part of the build log containing error:

       

      qgtkstyle.cpp: In member function 'virtual void QGtkStyle::polish(QApplication*)':
      qgtkstyle.cpp:443:30: error: 'setSystemPalette' is not a member of 'QApplicationPrivate'
      443 | QApplicationPrivate::setSystemPalette(standardPalette());

      ^~~~~~~~~~~~~~~~

      Basically QApplicationPrivate::setSystemPalette which seems to be removed somewhere between 5.14.2 and 5.15.2 is referred at least two locations in the mentioned style plugin code.

        Attachments

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

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            serkan tomboy cumca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes