You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running Manjaro KDE with the following configuration:
KDE Plasma Version 5.16.3
KDE Frameworks Version 5.60.0
Qt version 5.13.0
kernel Version 4.19.28-1-MANJARO
While compiling this using AUR repository I encountered the following error and the compilation process was aborted.
/usr/include/qt/QtGui/qpalette.h:113:52: error: expression list treated as compound expression in initializer [-fpermissive]
113 | const QBrush &brush(ColorGroup cg, ColorRole cr) const;
| ^
/usr/include/qt/QtGui/qpalette.h:114:26: error: variable or field ‘setColor’ declared void
114 | inline void setColor(ColorGroup cg, ColorRole cr, const QColor &color);
| ^~~~~~~~~~
/usr/include/qt/QtGui/qpalette.h:114:26: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
114 | inline void setColor(ColorGroup cg, ColorRole cr, const QColor &color);
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:114:41: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
114 | inline void setColor(ColorGroup cg, ColorRole cr, const QColor &color);
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:114:55: error: expected primary-expression before ‘const’
114 | inline void setColor(ColorGroup cg, ColorRole cr, const QColor &color);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:115:26: error: variable or field ‘setColor’ declared void
115 | inline void setColor(ColorRole cr, const QColor &color);
| ^~~~~~~~~
/usr/include/qt/QtGui/qpalette.h:115:26: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
115 | inline void setColor(ColorRole cr, const QColor &color);
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:115:40: error: expected primary-expression before ‘const’
115 | inline void setColor(ColorRole cr, const QColor &color);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:116:26: error: variable or field ‘setBrush’ declared void
116 | inline void setBrush(ColorRole cr, const QBrush &brush);
| ^~~~~~~~~
/usr/include/qt/QtGui/qpalette.h:116:26: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
116 | inline void setBrush(ColorRole cr, const QBrush &brush);
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:116:40: error: expected primary-expression before ‘const’
116 | inline void setBrush(ColorRole cr, const QBrush &brush);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:117:21: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
117 | bool isBrushSet(ColorGroup cg, ColorRole cr) const;
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:117:36: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
117 | bool isBrushSet(ColorGroup cg, ColorRole cr) const;
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:117:48: error: expression list treated as compound expression in initializer [-fpermissive]
117 | bool isBrushSet(ColorGroup cg, ColorRole cr) const;
| ^
/usr/include/qt/QtGui/qpalette.h:118:19: error: variable or field ‘setBrush’ declared void
118 | void setBrush(ColorGroup cg, ColorRole cr, const QBrush &brush);
| ^~~~~~~~~~
/usr/include/qt/QtGui/qpalette.h:118:19: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
118 | void setBrush(ColorGroup cg, ColorRole cr, const QBrush &brush);
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:118:34: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
118 | void setBrush(ColorGroup cg, ColorRole cr, const QBrush &brush);
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:118:48: error: expected primary-expression before ‘const’
118 | void setBrush(ColorGroup cg, ColorRole cr, const QBrush &brush);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:119:24: error: variable or field ‘setColorGroup’ declared void
119 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~~~~~~
/usr/include/qt/QtGui/qpalette.h:119:24: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
119 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:119:39: error: expected primary-expression before ‘const’
119 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:119:65: error: expected primary-expression before ‘const’
119 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:120:24: error: expected primary-expression before ‘const’
120 | const QBrush &light, const QBrush &dark, const QBrush &mid,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:120:45: error: expected primary-expression before ‘const’
120 | const QBrush &light, const QBrush &dark, const QBrush &mid,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:120:65: error: expected primary-expression before ‘const’
120 | const QBrush &light, const QBrush &dark, const QBrush &mid,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:121:24: error: expected primary-expression before ‘const’
121 | const QBrush &text, const QBrush &bright_text, const QBrush &base,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:121:44: error: expected primary-expression before ‘const’
121 | const QBrush &text, const QBrush &bright_text, const QBrush &base,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:121:71: error: expected primary-expression before ‘const’
121 | const QBrush &text, const QBrush &bright_text, const QBrush &base,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:122:24: error: expected primary-expression before ‘const’
122 | const QBrush &window);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:123:18: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
123 | bool isEqual(ColorGroup cr1, ColorGroup cr2) const;
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:123:34: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
123 | bool isEqual(ColorGroup cr1, ColorGroup cr2) const;
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:123:48: error: expression list treated as compound expression in initializer [-fpermissive]
123 | bool isEqual(ColorGroup cr1, ColorGroup cr2) const;
| ^
/usr/include/qt/QtGui/qpalette.h:125:26: error: redefinition of ‘const QColor& color’
125 | inline const QColor &color(ColorRole cr) const { return color(Current, cr); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:111:26: note: ‘const QColor& color’ previously defined here
111 | inline const QColor &color(ColorGroup cg, ColorRole cr) const
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:125:32: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
125 | inline const QColor &color(ColorRole cr) const { return color(Current, cr); }
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:126:26: error: redefinition of ‘const QBrush& brush’
126 | inline const QBrush &brush(ColorRole cr) const { return brush(Current, cr); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:113:19: note: ‘const QBrush& brush’ previously defined here
113 | const QBrush &brush(ColorGroup cg, ColorRole cr) const;
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:126:32: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
126 | inline const QBrush &brush(ColorRole cr) const { return brush(Current, cr); }
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:127:39: error: non-member function ‘const QBrush& windowText()’ cannot have cv-qualifier
127 | inline const QBrush &windowText() const { return brush(WindowText); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& windowText()’:
/usr/include/qt/QtGui/qpalette.h:127:60: error: ‘WindowText’ was not declared in this scope; did you mean ‘windowText’?
127 | inline const QBrush &windowText() const { return brush(WindowText); }
| ^~~~~~~~~~
| windowText
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:128:35: error: non-member function ‘const QBrush& button()’ cannot have cv-qualifier
128 | inline const QBrush &button() const { return brush(Button); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& button()’:
/usr/include/qt/QtGui/qpalette.h:128:56: error: ‘Button’ was not declared in this scope; did you mean ‘button’?
128 | inline const QBrush &button() const { return brush(Button); }
| ^~~~~~
| button
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:129:34: error: non-member function ‘const QBrush& light()’ cannot have cv-qualifier
129 | inline const QBrush &light() const { return brush(Light); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& light()’:
/usr/include/qt/QtGui/qpalette.h:129:55: error: ‘Light’ was not declared in this scope; did you mean ‘light’?
129 | inline const QBrush &light() const { return brush(Light); }
| ^~~~~
| light
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:130:33: error: non-member function ‘const QBrush& dark()’ cannot have cv-qualifier
130 | inline const QBrush &dark() const { return brush(Dark); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& dark()’:
/usr/include/qt/QtGui/qpalette.h:130:54: error: ‘Dark’ was not declared in this scope; did you mean ‘dark’?
130 | inline const QBrush &dark() const { return brush(Dark); }
| ^~~~
| dark
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:131:32: error: non-member function ‘const QBrush& mid()’ cannot have cv-qualifier
131 | inline const QBrush &mid() const { return brush(Mid); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& mid()’:
/usr/include/qt/QtGui/qpalette.h:131:53: error: ‘Mid’ was not declared in this scope; did you mean ‘mid’?
131 | inline const QBrush &mid() const { return brush(Mid); }
| ^~~
| mid
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:132:33: error: non-member function ‘const QBrush& text()’ cannot have cv-qualifier
132 | inline const QBrush &text() const { return brush(Text); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& text()’:
/usr/include/qt/QtGui/qpalette.h:132:54: error: ‘Text’ was not declared in this scope; did you mean ‘text’?
132 | inline const QBrush &text() const { return brush(Text); }
| ^~~~
| text
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:133:33: error: non-member function ‘const QBrush& base()’ cannot have cv-qualifier
133 | inline const QBrush &base() const { return brush(Base); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& base()’:
/usr/include/qt/QtGui/qpalette.h:133:54: error: ‘Base’ was not declared in this scope; did you mean ‘base’?
133 | inline const QBrush &base() const { return brush(Base); }
| ^~~~
| base
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:134:42: error: non-member function ‘const QBrush& alternateBase()’ cannot have cv-qualifier
134 | inline const QBrush &alternateBase() const { return brush(AlternateBase); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& alternateBase()’:
/usr/include/qt/QtGui/qpalette.h:134:63: error: ‘AlternateBase’ was not declared in this scope; did you mean ‘alternateBase’?
134 | inline const QBrush &alternateBase() const { return brush(AlternateBase); }
| ^~~~~~~~~~~~~
| alternateBase
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:135:40: error: non-member function ‘const QBrush& toolTipBase()’ cannot have cv-qualifier
135 | inline const QBrush &toolTipBase() const { return brush(ToolTipBase); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& toolTipBase()’:
/usr/include/qt/QtGui/qpalette.h:135:61: error: ‘ToolTipBase’ was not declared in this scope; did you mean ‘toolTipBase’?
135 | inline const QBrush &toolTipBase() const { return brush(ToolTipBase); }
| ^~~~~~~~~~~
| toolTipBase
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:136:40: error: non-member function ‘const QBrush& toolTipText()’ cannot have cv-qualifier
136 | inline const QBrush &toolTipText() const { return brush(ToolTipText); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& toolTipText()’:
/usr/include/qt/QtGui/qpalette.h:136:61: error: ‘ToolTipText’ was not declared in this scope; did you mean ‘toolTipText’?
136 | inline const QBrush &toolTipText() const { return brush(ToolTipText); }
| ^~~~~~~~~~~
| toolTipText
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:137:35: error: non-member function ‘const QBrush& window()’ cannot have cv-qualifier
137 | inline const QBrush &window() const { return brush(Window); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& window()’:
/usr/include/qt/QtGui/qpalette.h:137:56: error: ‘Window’ was not declared in this scope; did you mean ‘Qt::Window’?
137 | inline const QBrush &window() const { return brush(Window); }
| ^~~~~~
| Qt::Window
In file included from /home/chitranshu/anaconda3/include/qt/QtCore/qobjectdefs.h:48,
from /home/chitranshu/anaconda3/include/qt/QtCore/qobject.h:46,
from /home/chitranshu/anaconda3/include/qt/QtCore/QObject:1,
from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:26,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/home/chitranshu/anaconda3/include/qt/QtCore/qnamespace.h:266:9: note: ‘Qt::Window’ declared here
266 | Window = 0x00000001,
| ^~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:138:37: error: non-member function ‘const QBrush& midlight()’ cannot have cv-qualifier
138 | inline const QBrush &midlight() const { return brush(Midlight); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& midlight()’:
/usr/include/qt/QtGui/qpalette.h:138:58: error: ‘Midlight’ was not declared in this scope; did you mean ‘midlight’?
138 | inline const QBrush &midlight() const { return brush(Midlight); }
| ^~~~~~~~
| midlight
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:139:39: error: non-member function ‘const QBrush& brightText()’ cannot have cv-qualifier
139 | inline const QBrush &brightText() const { return brush(BrightText); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& brightText()’:
/usr/include/qt/QtGui/qpalette.h:139:60: error: ‘BrightText’ was not declared in this scope; did you mean ‘brightText’?
139 | inline const QBrush &brightText() const { return brush(BrightText); }
| ^~~~~~~~~~
| brightText
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:140:39: error: non-member function ‘const QBrush& buttonText()’ cannot have cv-qualifier
140 | inline const QBrush &buttonText() const { return brush(ButtonText); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& buttonText()’:
/usr/include/qt/QtGui/qpalette.h:140:60: error: ‘ButtonText’ was not declared in this scope; did you mean ‘buttonText’?
140 | inline const QBrush &buttonText() const { return brush(ButtonText); }
| ^~~~~~~~~~
| buttonText
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:141:35: error: non-member function ‘const QBrush& shadow()’ cannot have cv-qualifier
141 | inline const QBrush &shadow() const { return brush(Shadow); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& shadow()’:
/usr/include/qt/QtGui/qpalette.h:141:56: error: ‘Shadow’ was not declared in this scope; did you mean ‘shadow’?
141 | inline const QBrush &shadow() const { return brush(Shadow); }
| ^~~~~~
| shadow
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:142:38: error: non-member function ‘const QBrush& highlight()’ cannot have cv-qualifier
142 | inline const QBrush &highlight() const { return brush(Highlight); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& highlight()’:
/usr/include/qt/QtGui/qpalette.h:142:59: error: ‘Highlight’ was not declared in this scope; did you mean ‘highlight’?
142 | inline const QBrush &highlight() const { return brush(Highlight); }
| ^~~~~~~~~
| highlight
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:143:44: error: non-member function ‘const QBrush& highlightedText()’ cannot have cv-qualifier
143 | inline const QBrush &highlightedText() const { return brush(HighlightedText); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& highlightedText()’:
/usr/include/qt/QtGui/qpalette.h:143:65: error: ‘HighlightedText’ was not declared in this scope; did you mean ‘highlightedText’?
143 | inline const QBrush &highlightedText() const { return brush(HighlightedText); }
| ^~~~~~~~~~~~~~~
| highlightedText
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:144:33: error: non-member function ‘const QBrush& link()’ cannot have cv-qualifier
144 | inline const QBrush &link() const { return brush(Link); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& link()’:
/usr/include/qt/QtGui/qpalette.h:144:54: error: ‘Link’ was not declared in this scope; did you mean ‘link’?
144 | inline const QBrush &link() const { return brush(Link); }
| ^~~~
| link
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:145:40: error: non-member function ‘const QBrush& linkVisited()’ cannot have cv-qualifier
145 | inline const QBrush &linkVisited() const { return brush(LinkVisited); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& linkVisited()’:
/usr/include/qt/QtGui/qpalette.h:145:61: error: ‘LinkVisited’ was not declared in this scope; did you mean ‘linkVisited’?
145 | inline const QBrush &linkVisited() const { return brush(LinkVisited); }
| ^~~~~~~~~~~
| linkVisited
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:146:44: error: non-member function ‘const QBrush& placeholderText()’ cannot have cv-qualifier
146 | inline const QBrush &placeholderText() const { return brush(PlaceholderText); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& placeholderText()’:
/usr/include/qt/QtGui/qpalette.h:146:65: error: ‘PlaceholderText’ was not declared in this scope; did you mean ‘placeholderText’?
146 | inline const QBrush &placeholderText() const { return brush(PlaceholderText); }
| ^~~~~~~~~~~~~~~
| placeholderText
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:149:39: error: non-member function ‘const QBrush& foreground()’ cannot have cv-qualifier
149 | inline const QBrush &foreground() const { return windowText(); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:151:39: error: non-member function ‘const QBrush& background()’ cannot have cv-qualifier
151 | inline const QBrush &background() const { return window(); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:154:40: error: non-member function ‘bool operator==(const QPalette&)’ cannot have cv-qualifier
154 | bool operator==(const QPalette &p) const;
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:154:10: error: ‘bool operator==(const QPalette&)’ must have exactly two arguments
154 | bool operator==(const QPalette &p) const;
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:155:47: error: non-member function ‘bool operator!=(const QPalette&)’ cannot have cv-qualifier
155 | inline bool operator!=(const QPalette &p) const { return !(operator==(p)); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:155:17: error: ‘bool operator!=(const QPalette&)’ must have exactly two arguments
155 | inline bool operator!=(const QPalette &p) const { return !(operator==(p)); }
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:156:38: error: non-member function ‘bool isCopyOf(const QPalette&)’ cannot have cv-qualifier
156 | bool isCopyOf(const QPalette &p) const;
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:161:23: error: non-member function ‘qint64 cacheKey()’ cannot have cv-qualifier
161 | qint64 cacheKey() const;
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:163:40: error: non-member function ‘QPalette resolve(const QPalette&)’ cannot have cv-qualifier
163 | QPalette resolve(const QPalette &) const;
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:164:27: error: non-member function ‘uint resolve()’ cannot have cv-qualifier
164 | inline uint resolve() const { return data.resolve_mask; }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘uint resolve()’:
/usr/include/qt/QtGui/qpalette.h:164:42: error: ‘data’ was not declared in this scope
164 | inline uint resolve() const { return data.resolve_mask; }
| ^~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘void resolve(uint)’:
/usr/include/qt/QtGui/qpalette.h:165:38: error: ‘data’ was not declared in this scope
165 | inline void resolve(uint mask) { data.resolve_mask = mask; }
| ^~~~
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:167:1: error: expected unqualified-id before ‘private’
167 | private:
| ^~~~~~~
/usr/include/qt/QtGui/qpalette.h:176:24: error: variable or field ‘setColorGroup’ declared void
176 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~~~~~~
/usr/include/qt/QtGui/qpalette.h:176:24: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
176 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:176:39: error: expected primary-expression before ‘const’
176 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:176:65: error: expected primary-expression before ‘const’
176 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:177:24: error: expected primary-expression before ‘const’
177 | const QBrush &light, const QBrush &dark, const QBrush &mid,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:177:45: error: expected primary-expression before ‘const’
177 | const QBrush &light, const QBrush &dark, const QBrush &mid,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:177:65: error: expected primary-expression before ‘const’
177 | const QBrush &light, const QBrush &dark, const QBrush &mid,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:178:24: error: expected primary-expression before ‘const’
178 | const QBrush &text, const QBrush &bright_text,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:178:44: error: expected primary-expression before ‘const’
178 | const QBrush &text, const QBrush &bright_text,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:179:24: error: expected primary-expression before ‘const’
179 | const QBrush &base, const QBrush &alternate_base,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:179:44: error: expected primary-expression before ‘const’
179 | const QBrush &base, const QBrush &alternate_base,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:180:24: error: expected primary-expression before ‘const’
180 | const QBrush &window, const QBrush &midlight,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:180:46: error: expected primary-expression before ‘const’
180 | const QBrush &window, const QBrush &midlight,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:181:24: error: expected primary-expression before ‘const’
181 | const QBrush &button_text, const QBrush &shadow,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:181:51: error: expected primary-expression before ‘const’
181 | const QBrush &button_text, const QBrush &shadow,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:182:24: error: expected primary-expression before ‘const’
182 | const QBrush &highlight, const QBrush &highlighted_text,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:182:49: error: expected primary-expression before ‘const’
182 | const QBrush &highlight, const QBrush &highlighted_text,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:183:24: error: expected primary-expression before ‘const’
183 | const QBrush &link, const QBrush &link_visited,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:183:44: error: expected primary-expression before ‘const’
183 | const QBrush &link, const QBrush &link_visited,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:184:24: error: expected primary-expression before ‘const’
184 | const QBrush &toolTipBase, const QBrush &toolTipText);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:184:51: error: expected primary-expression before ‘const’
184 | const QBrush &toolTipBase, const QBrush &toolTipText);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:196:5: error: namespace-scope anonymous aggregates must be static
196 | };
| ^
/usr/include/qt/QtGui/qpalette.h:197:5: error: ‘friend’ used outside of class
197 | friend Q_GUI_EXPORT QDataStream &operator<<(QDataStream &s, const QPalette &p);
| ^~~~~~
| ------
/usr/include/qt/QtGui/qpalette.h:198:1: error: expected declaration before ‘}’ token
198 | };
| ^
/usr/include/qt/QtGui/qpalette.h:202:13: error: no declaration matches ‘void QPalette::setColor(QPalette::ColorGroup, QPalette::ColorRole, const QColor&)’
202 | inline void QPalette::setColor(ColorGroup acg, ColorRole acr,
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:202:13: note: no functions named ‘void QPalette::setColor(QPalette::ColorGroup, QPalette::ColorRole, const QColor&)’
/usr/include/qt/QtGui/qpalette.h:54:20: note: ‘class QPalette’ defined here
54 | class Q_GUI_EXPORT QPalette
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:205:13: error: no declaration matches ‘void QPalette::setColor(QPalette::ColorRole, const QColor&)’
205 | inline void QPalette::setColor(ColorRole acr, const QColor &acolor)
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:205:13: note: no functions named ‘void QPalette::setColor(QPalette::ColorRole, const QColor&)’
/usr/include/qt/QtGui/qpalette.h:54:20: note: ‘class QPalette’ defined here
54 | class Q_GUI_EXPORT QPalette
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:207:13: error: no declaration matches ‘void QPalette::setBrush(QPalette::ColorRole, const QBrush&)’
207 | inline void QPalette::setBrush(ColorRole acr, const QBrush &abrush)
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:207:13: note: no functions named ‘void QPalette::setBrush(QPalette::ColorRole, const QBrush&)’
/usr/include/qt/QtGui/qpalette.h:54:20: note: ‘class QPalette’ defined here
54 | class Q_GUI_EXPORT QPalette
| ^~~~~~~~
In file included from /usr/include/qt/QtGui/QPainter:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:35,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpainter.h:472:65: error: ‘QGradient::Preset’ has not been declared
472 | inline void fillRect(int x, int y, int w, int h, QGradient::Preset preset);
| ^~~~~~
/usr/include/qt/QtGui/qpainter.h:473:53: error: ‘QGradient::Preset’ has not been declared
473 | inline void fillRect(const QRect &r, QGradient::Preset preset);
| ^~~~~~
/usr/include/qt/QtGui/qpainter.h:474:54: error: ‘QGradient::Preset’ has not been declared
474 | inline void fillRect(const QRectF &r, QGradient::Preset preset);
| ^~~~~~
/usr/include/qt/QtGui/qpainter.h:769:71: error: ‘QGradient::Preset’ has not been declared
769 | inline void QPainter::fillRect(int x, int y, int w, int h, QGradient::Preset p)
| ^~~~~~
/usr/include/qt/QtGui/qpainter.h: In member function ‘void QPainter::fillRect(int, int, int, int, int)’:
/usr/include/qt/QtGui/qpainter.h:771:44: error: no matching function for call to ‘QGradient::QGradient(int&)’
771 | fillRect(QRect(x, y, w, h), QGradient(p));
| ^
In file included from /usr/include/qt/QtGui/qpalette.h:46,
from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:206:5: note: candidate: ‘QGradient::QGradient()’
206 | QGradient();
| ^~~~~~~~~
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:206:5: note: candidate expects 0 arguments, 1 provided
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: candidate: ‘QGradient::QGradient(const QGradient&)’
175 | class Q_GUI_EXPORT QGradient
| ^~~~~~~~~
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: no known conversion for argument 1 from ‘int’ to ‘const QGradient&’
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: candidate: ‘QGradient::QGradient(QGradient&&)’
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: no known conversion for argument 1 from ‘int’ to ‘QGradient&&’
In file included from /usr/include/qt/QtGui/QPainter:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:35,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpainter.h: At global scope:
/usr/include/qt/QtGui/qpainter.h:774:59: error: ‘QGradient::Preset’ has not been declared
774 | inline void QPainter::fillRect(const QRect &r, QGradient::Preset p)
| ^~~~~~
/usr/include/qt/QtGui/qpainter.h: In member function ‘void QPainter::fillRect(const QRect&, int)’:
/usr/include/qt/QtGui/qpainter.h:776:28: error: no matching function for call to ‘QGradient::QGradient(int&)’
776 | fillRect(r, QGradient(p));
| ^
In file included from /usr/include/qt/QtGui/qpalette.h:46,
from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:206:5: note: candidate: ‘QGradient::QGradient()’
206 | QGradient();
| ^~~~~~~~~
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:206:5: note: candidate expects 0 arguments, 1 provided
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: candidate: ‘QGradient::QGradient(const QGradient&)’
175 | class Q_GUI_EXPORT QGradient
| ^~~~~~~~~
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: no known conversion for argument 1 from ‘int’ to ‘const QGradient&’
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: candidate: ‘QGradient::QGradient(QGradient&&)’
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: no known conversion for argument 1 from ‘int’ to ‘QGradient&&’
In file included from /usr/include/qt/QtGui/QPainter:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:35,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpainter.h: At global scope:
/usr/include/qt/QtGui/qpainter.h:779:60: error: ‘QGradient::Preset’ has not been declared
779 | inline void QPainter::fillRect(const QRectF &r, QGradient::Preset p)
| ^~~~~~
/usr/include/qt/QtGui/qpainter.h: In member function ‘void QPainter::fillRect(const QRectF&, int)’:
/usr/include/qt/QtGui/qpainter.h:781:28: error: no matching function for call to ‘QGradient::QGradient(int&)’
781 | fillRect(r, QGradient(p));
| ^
In file included from /usr/include/qt/QtGui/qpalette.h:46,
from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:206:5: note: candidate: ‘QGradient::QGradient()’
206 | QGradient();
| ^~~~~~~~~
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:206:5: note: candidate expects 0 arguments, 1 provided
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: candidate: ‘QGradient::QGradient(const QGradient&)’
175 | class Q_GUI_EXPORT QGradient
| ^~~~~~~~~
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: no known conversion for argument 1 from ‘int’ to ‘const QGradient&’
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: candidate: ‘QGradient::QGradient(QGradient&&)’
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: no known conversion for argument 1 from ‘int’ to ‘QGradient&&’
make[2]: *** [CMakeFiles/sierrabreeze.dir/build.make:87: CMakeFiles/sierrabreeze.dir/sierrabreeze_autogen/mocs_compilation.cpp.o] Error 1
make[2]: Leaving directory '/home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build'
make[1]: *** [CMakeFiles/Makefile2:88: CMakeFiles/sierrabreeze.dir/all] Error 2
make[1]: Leaving directory '/home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build'
make: *** [Makefile:130: all] Error 2
make: Leaving directory '/home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build'
==> ERROR: A failure occurred in package().
Aborting...
The text was updated successfully, but these errors were encountered:
I'm running Manjaro KDE with the following configuration:
KDE Plasma Version 5.16.3
KDE Frameworks Version 5.60.0
Qt version 5.13.0
kernel Version 4.19.28-1-MANJARO
While compiling this using AUR repository I encountered the following error and the compilation process was aborted.
/usr/include/qt/QtGui/qpalette.h:113:52: error: expression list treated as compound expression in initializer [-fpermissive]
113 | const QBrush &brush(ColorGroup cg, ColorRole cr) const;
| ^
/usr/include/qt/QtGui/qpalette.h:114:26: error: variable or field ‘setColor’ declared void
114 | inline void setColor(ColorGroup cg, ColorRole cr, const QColor &color);
| ^~~~~~~~~~
/usr/include/qt/QtGui/qpalette.h:114:26: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
114 | inline void setColor(ColorGroup cg, ColorRole cr, const QColor &color);
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:114:41: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
114 | inline void setColor(ColorGroup cg, ColorRole cr, const QColor &color);
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:114:55: error: expected primary-expression before ‘const’
114 | inline void setColor(ColorGroup cg, ColorRole cr, const QColor &color);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:115:26: error: variable or field ‘setColor’ declared void
115 | inline void setColor(ColorRole cr, const QColor &color);
| ^~~~~~~~~
/usr/include/qt/QtGui/qpalette.h:115:26: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
115 | inline void setColor(ColorRole cr, const QColor &color);
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:115:40: error: expected primary-expression before ‘const’
115 | inline void setColor(ColorRole cr, const QColor &color);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:116:26: error: variable or field ‘setBrush’ declared void
116 | inline void setBrush(ColorRole cr, const QBrush &brush);
| ^~~~~~~~~
/usr/include/qt/QtGui/qpalette.h:116:26: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
116 | inline void setBrush(ColorRole cr, const QBrush &brush);
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:116:40: error: expected primary-expression before ‘const’
116 | inline void setBrush(ColorRole cr, const QBrush &brush);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:117:21: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
117 | bool isBrushSet(ColorGroup cg, ColorRole cr) const;
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:117:36: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
117 | bool isBrushSet(ColorGroup cg, ColorRole cr) const;
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:117:48: error: expression list treated as compound expression in initializer [-fpermissive]
117 | bool isBrushSet(ColorGroup cg, ColorRole cr) const;
| ^
/usr/include/qt/QtGui/qpalette.h:118:19: error: variable or field ‘setBrush’ declared void
118 | void setBrush(ColorGroup cg, ColorRole cr, const QBrush &brush);
| ^~~~~~~~~~
/usr/include/qt/QtGui/qpalette.h:118:19: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
118 | void setBrush(ColorGroup cg, ColorRole cr, const QBrush &brush);
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:118:34: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
118 | void setBrush(ColorGroup cg, ColorRole cr, const QBrush &brush);
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:118:48: error: expected primary-expression before ‘const’
118 | void setBrush(ColorGroup cg, ColorRole cr, const QBrush &brush);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:119:24: error: variable or field ‘setColorGroup’ declared void
119 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~~~~~~
/usr/include/qt/QtGui/qpalette.h:119:24: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
119 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:119:39: error: expected primary-expression before ‘const’
119 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:119:65: error: expected primary-expression before ‘const’
119 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:120:24: error: expected primary-expression before ‘const’
120 | const QBrush &light, const QBrush &dark, const QBrush &mid,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:120:45: error: expected primary-expression before ‘const’
120 | const QBrush &light, const QBrush &dark, const QBrush &mid,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:120:65: error: expected primary-expression before ‘const’
120 | const QBrush &light, const QBrush &dark, const QBrush &mid,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:121:24: error: expected primary-expression before ‘const’
121 | const QBrush &text, const QBrush &bright_text, const QBrush &base,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:121:44: error: expected primary-expression before ‘const’
121 | const QBrush &text, const QBrush &bright_text, const QBrush &base,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:121:71: error: expected primary-expression before ‘const’
121 | const QBrush &text, const QBrush &bright_text, const QBrush &base,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:122:24: error: expected primary-expression before ‘const’
122 | const QBrush &window);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:123:18: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
123 | bool isEqual(ColorGroup cr1, ColorGroup cr2) const;
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:123:34: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
123 | bool isEqual(ColorGroup cr1, ColorGroup cr2) const;
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:123:48: error: expression list treated as compound expression in initializer [-fpermissive]
123 | bool isEqual(ColorGroup cr1, ColorGroup cr2) const;
| ^
/usr/include/qt/QtGui/qpalette.h:125:26: error: redefinition of ‘const QColor& color’
125 | inline const QColor &color(ColorRole cr) const { return color(Current, cr); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:111:26: note: ‘const QColor& color’ previously defined here
111 | inline const QColor &color(ColorGroup cg, ColorRole cr) const
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:125:32: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
125 | inline const QColor &color(ColorRole cr) const { return color(Current, cr); }
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:126:26: error: redefinition of ‘const QBrush& brush’
126 | inline const QBrush &brush(ColorRole cr) const { return brush(Current, cr); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:113:19: note: ‘const QBrush& brush’ previously defined here
113 | const QBrush &brush(ColorGroup cg, ColorRole cr) const;
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:126:32: error: ‘ColorRole’ was not declared in this scope; did you mean ‘KDecoration2::ColorRole’?
126 | inline const QBrush &brush(ColorRole cr) const { return brush(Current, cr); }
| ^~~~~~~~~
| KDecoration2::ColorRole
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:162:12: note: ‘KDecoration2::ColorRole’ declared here
162 | enum class ColorRole {
| ^~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:127:39: error: non-member function ‘const QBrush& windowText()’ cannot have cv-qualifier
127 | inline const QBrush &windowText() const { return brush(WindowText); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& windowText()’:
/usr/include/qt/QtGui/qpalette.h:127:60: error: ‘WindowText’ was not declared in this scope; did you mean ‘windowText’?
127 | inline const QBrush &windowText() const { return brush(WindowText); }
| ^~~~~~~~~~
| windowText
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:128:35: error: non-member function ‘const QBrush& button()’ cannot have cv-qualifier
128 | inline const QBrush &button() const { return brush(Button); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& button()’:
/usr/include/qt/QtGui/qpalette.h:128:56: error: ‘Button’ was not declared in this scope; did you mean ‘button’?
128 | inline const QBrush &button() const { return brush(Button); }
| ^~~~~~
| button
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:129:34: error: non-member function ‘const QBrush& light()’ cannot have cv-qualifier
129 | inline const QBrush &light() const { return brush(Light); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& light()’:
/usr/include/qt/QtGui/qpalette.h:129:55: error: ‘Light’ was not declared in this scope; did you mean ‘light’?
129 | inline const QBrush &light() const { return brush(Light); }
| ^~~~~
| light
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:130:33: error: non-member function ‘const QBrush& dark()’ cannot have cv-qualifier
130 | inline const QBrush &dark() const { return brush(Dark); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& dark()’:
/usr/include/qt/QtGui/qpalette.h:130:54: error: ‘Dark’ was not declared in this scope; did you mean ‘dark’?
130 | inline const QBrush &dark() const { return brush(Dark); }
| ^~~~
| dark
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:131:32: error: non-member function ‘const QBrush& mid()’ cannot have cv-qualifier
131 | inline const QBrush &mid() const { return brush(Mid); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& mid()’:
/usr/include/qt/QtGui/qpalette.h:131:53: error: ‘Mid’ was not declared in this scope; did you mean ‘mid’?
131 | inline const QBrush &mid() const { return brush(Mid); }
| ^~~
| mid
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:132:33: error: non-member function ‘const QBrush& text()’ cannot have cv-qualifier
132 | inline const QBrush &text() const { return brush(Text); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& text()’:
/usr/include/qt/QtGui/qpalette.h:132:54: error: ‘Text’ was not declared in this scope; did you mean ‘text’?
132 | inline const QBrush &text() const { return brush(Text); }
| ^~~~
| text
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:133:33: error: non-member function ‘const QBrush& base()’ cannot have cv-qualifier
133 | inline const QBrush &base() const { return brush(Base); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& base()’:
/usr/include/qt/QtGui/qpalette.h:133:54: error: ‘Base’ was not declared in this scope; did you mean ‘base’?
133 | inline const QBrush &base() const { return brush(Base); }
| ^~~~
| base
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:134:42: error: non-member function ‘const QBrush& alternateBase()’ cannot have cv-qualifier
134 | inline const QBrush &alternateBase() const { return brush(AlternateBase); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& alternateBase()’:
/usr/include/qt/QtGui/qpalette.h:134:63: error: ‘AlternateBase’ was not declared in this scope; did you mean ‘alternateBase’?
134 | inline const QBrush &alternateBase() const { return brush(AlternateBase); }
| ^~~~~~~~~~~~~
| alternateBase
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:135:40: error: non-member function ‘const QBrush& toolTipBase()’ cannot have cv-qualifier
135 | inline const QBrush &toolTipBase() const { return brush(ToolTipBase); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& toolTipBase()’:
/usr/include/qt/QtGui/qpalette.h:135:61: error: ‘ToolTipBase’ was not declared in this scope; did you mean ‘toolTipBase’?
135 | inline const QBrush &toolTipBase() const { return brush(ToolTipBase); }
| ^~~~~~~~~~~
| toolTipBase
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:136:40: error: non-member function ‘const QBrush& toolTipText()’ cannot have cv-qualifier
136 | inline const QBrush &toolTipText() const { return brush(ToolTipText); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& toolTipText()’:
/usr/include/qt/QtGui/qpalette.h:136:61: error: ‘ToolTipText’ was not declared in this scope; did you mean ‘toolTipText’?
136 | inline const QBrush &toolTipText() const { return brush(ToolTipText); }
| ^~~~~~~~~~~
| toolTipText
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:137:35: error: non-member function ‘const QBrush& window()’ cannot have cv-qualifier
137 | inline const QBrush &window() const { return brush(Window); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& window()’:
/usr/include/qt/QtGui/qpalette.h:137:56: error: ‘Window’ was not declared in this scope; did you mean ‘Qt::Window’?
137 | inline const QBrush &window() const { return brush(Window); }
| ^~~~~~
| Qt::Window
In file included from /home/chitranshu/anaconda3/include/qt/QtCore/qobjectdefs.h:48,
from /home/chitranshu/anaconda3/include/qt/QtCore/qobject.h:46,
from /home/chitranshu/anaconda3/include/qt/QtCore/QObject:1,
from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:26,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/home/chitranshu/anaconda3/include/qt/QtCore/qnamespace.h:266:9: note: ‘Qt::Window’ declared here
266 | Window = 0x00000001,
| ^~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:138:37: error: non-member function ‘const QBrush& midlight()’ cannot have cv-qualifier
138 | inline const QBrush &midlight() const { return brush(Midlight); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& midlight()’:
/usr/include/qt/QtGui/qpalette.h:138:58: error: ‘Midlight’ was not declared in this scope; did you mean ‘midlight’?
138 | inline const QBrush &midlight() const { return brush(Midlight); }
| ^~~~~~~~
| midlight
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:139:39: error: non-member function ‘const QBrush& brightText()’ cannot have cv-qualifier
139 | inline const QBrush &brightText() const { return brush(BrightText); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& brightText()’:
/usr/include/qt/QtGui/qpalette.h:139:60: error: ‘BrightText’ was not declared in this scope; did you mean ‘brightText’?
139 | inline const QBrush &brightText() const { return brush(BrightText); }
| ^~~~~~~~~~
| brightText
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:140:39: error: non-member function ‘const QBrush& buttonText()’ cannot have cv-qualifier
140 | inline const QBrush &buttonText() const { return brush(ButtonText); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& buttonText()’:
/usr/include/qt/QtGui/qpalette.h:140:60: error: ‘ButtonText’ was not declared in this scope; did you mean ‘buttonText’?
140 | inline const QBrush &buttonText() const { return brush(ButtonText); }
| ^~~~~~~~~~
| buttonText
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:141:35: error: non-member function ‘const QBrush& shadow()’ cannot have cv-qualifier
141 | inline const QBrush &shadow() const { return brush(Shadow); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& shadow()’:
/usr/include/qt/QtGui/qpalette.h:141:56: error: ‘Shadow’ was not declared in this scope; did you mean ‘shadow’?
141 | inline const QBrush &shadow() const { return brush(Shadow); }
| ^~~~~~
| shadow
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:142:38: error: non-member function ‘const QBrush& highlight()’ cannot have cv-qualifier
142 | inline const QBrush &highlight() const { return brush(Highlight); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& highlight()’:
/usr/include/qt/QtGui/qpalette.h:142:59: error: ‘Highlight’ was not declared in this scope; did you mean ‘highlight’?
142 | inline const QBrush &highlight() const { return brush(Highlight); }
| ^~~~~~~~~
| highlight
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:143:44: error: non-member function ‘const QBrush& highlightedText()’ cannot have cv-qualifier
143 | inline const QBrush &highlightedText() const { return brush(HighlightedText); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& highlightedText()’:
/usr/include/qt/QtGui/qpalette.h:143:65: error: ‘HighlightedText’ was not declared in this scope; did you mean ‘highlightedText’?
143 | inline const QBrush &highlightedText() const { return brush(HighlightedText); }
| ^~~~~~~~~~~~~~~
| highlightedText
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:144:33: error: non-member function ‘const QBrush& link()’ cannot have cv-qualifier
144 | inline const QBrush &link() const { return brush(Link); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& link()’:
/usr/include/qt/QtGui/qpalette.h:144:54: error: ‘Link’ was not declared in this scope; did you mean ‘link’?
144 | inline const QBrush &link() const { return brush(Link); }
| ^~~~
| link
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:145:40: error: non-member function ‘const QBrush& linkVisited()’ cannot have cv-qualifier
145 | inline const QBrush &linkVisited() const { return brush(LinkVisited); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& linkVisited()’:
/usr/include/qt/QtGui/qpalette.h:145:61: error: ‘LinkVisited’ was not declared in this scope; did you mean ‘linkVisited’?
145 | inline const QBrush &linkVisited() const { return brush(LinkVisited); }
| ^~~~~~~~~~~
| linkVisited
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:146:44: error: non-member function ‘const QBrush& placeholderText()’ cannot have cv-qualifier
146 | inline const QBrush &placeholderText() const { return brush(PlaceholderText); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘const QBrush& placeholderText()’:
/usr/include/qt/QtGui/qpalette.h:146:65: error: ‘PlaceholderText’ was not declared in this scope; did you mean ‘placeholderText’?
146 | inline const QBrush &placeholderText() const { return brush(PlaceholderText); }
| ^~~~~~~~~~~~~~~
| placeholderText
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:149:39: error: non-member function ‘const QBrush& foreground()’ cannot have cv-qualifier
149 | inline const QBrush &foreground() const { return windowText(); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:151:39: error: non-member function ‘const QBrush& background()’ cannot have cv-qualifier
151 | inline const QBrush &background() const { return window(); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:154:40: error: non-member function ‘bool operator==(const QPalette&)’ cannot have cv-qualifier
154 | bool operator==(const QPalette &p) const;
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:154:10: error: ‘bool operator==(const QPalette&)’ must have exactly two arguments
154 | bool operator==(const QPalette &p) const;
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:155:47: error: non-member function ‘bool operator!=(const QPalette&)’ cannot have cv-qualifier
155 | inline bool operator!=(const QPalette &p) const { return !(operator==(p)); }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:155:17: error: ‘bool operator!=(const QPalette&)’ must have exactly two arguments
155 | inline bool operator!=(const QPalette &p) const { return !(operator==(p)); }
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:156:38: error: non-member function ‘bool isCopyOf(const QPalette&)’ cannot have cv-qualifier
156 | bool isCopyOf(const QPalette &p) const;
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:161:23: error: non-member function ‘qint64 cacheKey()’ cannot have cv-qualifier
161 | qint64 cacheKey() const;
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:163:40: error: non-member function ‘QPalette resolve(const QPalette&)’ cannot have cv-qualifier
163 | QPalette resolve(const QPalette &) const;
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:164:27: error: non-member function ‘uint resolve()’ cannot have cv-qualifier
164 | inline uint resolve() const { return data.resolve_mask; }
| ^~~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘uint resolve()’:
/usr/include/qt/QtGui/qpalette.h:164:42: error: ‘data’ was not declared in this scope
164 | inline uint resolve() const { return data.resolve_mask; }
| ^~~~
/usr/include/qt/QtGui/qpalette.h: In function ‘void resolve(uint)’:
/usr/include/qt/QtGui/qpalette.h:165:38: error: ‘data’ was not declared in this scope
165 | inline void resolve(uint mask) { data.resolve_mask = mask; }
| ^~~~
/usr/include/qt/QtGui/qpalette.h: At global scope:
/usr/include/qt/QtGui/qpalette.h:167:1: error: expected unqualified-id before ‘private’
167 | private:
| ^~~~~~~
/usr/include/qt/QtGui/qpalette.h:176:24: error: variable or field ‘setColorGroup’ declared void
176 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~~~~~~
/usr/include/qt/QtGui/qpalette.h:176:24: error: ‘ColorGroup’ was not declared in this scope; did you mean ‘KDecoration2::ColorGroup’?
176 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~~~~~~
| KDecoration2::ColorGroup
In file included from /usr/include/KDecoration2/kdecoration2/decorationbutton.h:24,
from /usr/include/KDecoration2/KDecoration2/DecorationButton:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:25,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/KDecoration2/kdecoration2/decorationdefines.h:142:12: note: ‘KDecoration2::ColorGroup’ declared here
142 | enum class ColorGroup {
| ^~~~~~~~~~
In file included from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpalette.h:176:39: error: expected primary-expression before ‘const’
176 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:176:65: error: expected primary-expression before ‘const’
176 | void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:177:24: error: expected primary-expression before ‘const’
177 | const QBrush &light, const QBrush &dark, const QBrush &mid,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:177:45: error: expected primary-expression before ‘const’
177 | const QBrush &light, const QBrush &dark, const QBrush &mid,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:177:65: error: expected primary-expression before ‘const’
177 | const QBrush &light, const QBrush &dark, const QBrush &mid,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:178:24: error: expected primary-expression before ‘const’
178 | const QBrush &text, const QBrush &bright_text,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:178:44: error: expected primary-expression before ‘const’
178 | const QBrush &text, const QBrush &bright_text,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:179:24: error: expected primary-expression before ‘const’
179 | const QBrush &base, const QBrush &alternate_base,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:179:44: error: expected primary-expression before ‘const’
179 | const QBrush &base, const QBrush &alternate_base,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:180:24: error: expected primary-expression before ‘const’
180 | const QBrush &window, const QBrush &midlight,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:180:46: error: expected primary-expression before ‘const’
180 | const QBrush &window, const QBrush &midlight,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:181:24: error: expected primary-expression before ‘const’
181 | const QBrush &button_text, const QBrush &shadow,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:181:51: error: expected primary-expression before ‘const’
181 | const QBrush &button_text, const QBrush &shadow,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:182:24: error: expected primary-expression before ‘const’
182 | const QBrush &highlight, const QBrush &highlighted_text,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:182:49: error: expected primary-expression before ‘const’
182 | const QBrush &highlight, const QBrush &highlighted_text,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:183:24: error: expected primary-expression before ‘const’
183 | const QBrush &link, const QBrush &link_visited,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:183:44: error: expected primary-expression before ‘const’
183 | const QBrush &link, const QBrush &link_visited,
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:184:24: error: expected primary-expression before ‘const’
184 | const QBrush &toolTipBase, const QBrush &toolTipText);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:184:51: error: expected primary-expression before ‘const’
184 | const QBrush &toolTipBase, const QBrush &toolTipText);
| ^~~~~
/usr/include/qt/QtGui/qpalette.h:196:5: error: namespace-scope anonymous aggregates must be static
196 | };
| ^
/usr/include/qt/QtGui/qpalette.h:197:5: error: ‘friend’ used outside of class
197 | friend Q_GUI_EXPORT QDataStream &operator<<(QDataStream &s, const QPalette &p);
| ^~~~~~
| ------
/usr/include/qt/QtGui/qpalette.h:198:1: error: expected declaration before ‘}’ token
198 | };
| ^
/usr/include/qt/QtGui/qpalette.h:202:13: error: no declaration matches ‘void QPalette::setColor(QPalette::ColorGroup, QPalette::ColorRole, const QColor&)’
202 | inline void QPalette::setColor(ColorGroup acg, ColorRole acr,
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:202:13: note: no functions named ‘void QPalette::setColor(QPalette::ColorGroup, QPalette::ColorRole, const QColor&)’
/usr/include/qt/QtGui/qpalette.h:54:20: note: ‘class QPalette’ defined here
54 | class Q_GUI_EXPORT QPalette
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:205:13: error: no declaration matches ‘void QPalette::setColor(QPalette::ColorRole, const QColor&)’
205 | inline void QPalette::setColor(ColorRole acr, const QColor &acolor)
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:205:13: note: no functions named ‘void QPalette::setColor(QPalette::ColorRole, const QColor&)’
/usr/include/qt/QtGui/qpalette.h:54:20: note: ‘class QPalette’ defined here
54 | class Q_GUI_EXPORT QPalette
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:207:13: error: no declaration matches ‘void QPalette::setBrush(QPalette::ColorRole, const QBrush&)’
207 | inline void QPalette::setBrush(ColorRole acr, const QBrush &abrush)
| ^~~~~~~~
/usr/include/qt/QtGui/qpalette.h:207:13: note: no functions named ‘void QPalette::setBrush(QPalette::ColorRole, const QBrush&)’
/usr/include/qt/QtGui/qpalette.h:54:20: note: ‘class QPalette’ defined here
54 | class Q_GUI_EXPORT QPalette
| ^~~~~~~~
In file included from /usr/include/qt/QtGui/QPainter:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:35,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpainter.h:472:65: error: ‘QGradient::Preset’ has not been declared
472 | inline void fillRect(int x, int y, int w, int h, QGradient::Preset preset);
| ^~~~~~
/usr/include/qt/QtGui/qpainter.h:473:53: error: ‘QGradient::Preset’ has not been declared
473 | inline void fillRect(const QRect &r, QGradient::Preset preset);
| ^~~~~~
/usr/include/qt/QtGui/qpainter.h:474:54: error: ‘QGradient::Preset’ has not been declared
474 | inline void fillRect(const QRectF &r, QGradient::Preset preset);
| ^~~~~~
/usr/include/qt/QtGui/qpainter.h:769:71: error: ‘QGradient::Preset’ has not been declared
769 | inline void QPainter::fillRect(int x, int y, int w, int h, QGradient::Preset p)
| ^~~~~~
/usr/include/qt/QtGui/qpainter.h: In member function ‘void QPainter::fillRect(int, int, int, int, int)’:
/usr/include/qt/QtGui/qpainter.h:771:44: error: no matching function for call to ‘QGradient::QGradient(int&)’
771 | fillRect(QRect(x, y, w, h), QGradient(p));
| ^
In file included from /usr/include/qt/QtGui/qpalette.h:46,
from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:206:5: note: candidate: ‘QGradient::QGradient()’
206 | QGradient();
| ^~~~~~~~~
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:206:5: note: candidate expects 0 arguments, 1 provided
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: candidate: ‘QGradient::QGradient(const QGradient&)’
175 | class Q_GUI_EXPORT QGradient
| ^~~~~~~~~
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: no known conversion for argument 1 from ‘int’ to ‘const QGradient&’
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: candidate: ‘QGradient::QGradient(QGradient&&)’
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: no known conversion for argument 1 from ‘int’ to ‘QGradient&&’
In file included from /usr/include/qt/QtGui/QPainter:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:35,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpainter.h: At global scope:
/usr/include/qt/QtGui/qpainter.h:774:59: error: ‘QGradient::Preset’ has not been declared
774 | inline void QPainter::fillRect(const QRect &r, QGradient::Preset p)
| ^~~~~~
/usr/include/qt/QtGui/qpainter.h: In member function ‘void QPainter::fillRect(const QRect&, int)’:
/usr/include/qt/QtGui/qpainter.h:776:28: error: no matching function for call to ‘QGradient::QGradient(int&)’
776 | fillRect(r, QGradient(p));
| ^
In file included from /usr/include/qt/QtGui/qpalette.h:46,
from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:206:5: note: candidate: ‘QGradient::QGradient()’
206 | QGradient();
| ^~~~~~~~~
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:206:5: note: candidate expects 0 arguments, 1 provided
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: candidate: ‘QGradient::QGradient(const QGradient&)’
175 | class Q_GUI_EXPORT QGradient
| ^~~~~~~~~
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: no known conversion for argument 1 from ‘int’ to ‘const QGradient&’
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: candidate: ‘QGradient::QGradient(QGradient&&)’
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: no known conversion for argument 1 from ‘int’ to ‘QGradient&&’
In file included from /usr/include/qt/QtGui/QPainter:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:35,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtGui/qpainter.h: At global scope:
/usr/include/qt/QtGui/qpainter.h:779:60: error: ‘QGradient::Preset’ has not been declared
779 | inline void QPainter::fillRect(const QRectF &r, QGradient::Preset p)
| ^~~~~~
/usr/include/qt/QtGui/qpainter.h: In member function ‘void QPainter::fillRect(const QRectF&, int)’:
/usr/include/qt/QtGui/qpainter.h:781:28: error: no matching function for call to ‘QGradient::QGradient(int&)’
781 | fillRect(r, QGradient(p));
| ^
In file included from /usr/include/qt/QtGui/qpalette.h:46,
from /usr/include/qt/QtGui/QPalette:1,
from /usr/include/KDecoration2/kdecoration2/decoratedclient.h:30,
from /usr/include/KDecoration2/KDecoration2/DecoratedClient:1,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezedecoration.h:29,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/../../../breezebutton.h:26,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/EWIEGA46WW/moc_breezebutton.cpp:9,
from /home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build/sierrabreeze_autogen/mocs_compilation.cpp:2:
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:206:5: note: candidate: ‘QGradient::QGradient()’
206 | QGradient();
| ^~~~~~~~~
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:206:5: note: candidate expects 0 arguments, 1 provided
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: candidate: ‘QGradient::QGradient(const QGradient&)’
175 | class Q_GUI_EXPORT QGradient
| ^~~~~~~~~
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: no known conversion for argument 1 from ‘int’ to ‘const QGradient&’
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: candidate: ‘QGradient::QGradient(QGradient&&)’
/home/chitranshu/anaconda3/include/qt/QtGui/qbrush.h:175:20: note: no known conversion for argument 1 from ‘int’ to ‘QGradient&&’
make[2]: *** [CMakeFiles/sierrabreeze.dir/build.make:87: CMakeFiles/sierrabreeze.dir/sierrabreeze_autogen/mocs_compilation.cpp.o] Error 1
make[2]: Leaving directory '/home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build'
make[1]: *** [CMakeFiles/Makefile2:88: CMakeFiles/sierrabreeze.dir/all] Error 2
make[1]: Leaving directory '/home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build'
make: *** [Makefile:130: all] Error 2
make: Leaving directory '/home/chitranshu/Downloads/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build'
==> ERROR: A failure occurred in package().
Aborting...
The text was updated successfully, but these errors were encountered: