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

Qt style pluins fail to compile aganist Qt 5.15.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P1: Critical
    • None
    • 5.15.0 RC2
    • Core: Plugins
    • None
    • 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

            thiago Thiago Macieira
            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