Coder Social home page Coder Social logo

sierrabreeze's Introduction

SierraBreeze

Sierra Breeze is a fork of Breeze Window decoration that aims to mimic the OSX Sierra titlebar buttons. Screenshot

Install

Debian/Ubuntu

Debian/Ubuntu users can install by using the PPA maintained by Thomas Pietrowski:

sudo add-apt-repository ppa:thopiekar/sierrabreeze
sudo apt update
sudo apt install sierrabreeze

Arch Linux

SierraBreeze can also be installed from the AUR using

yaourt sierrabreeze-kwin-decoration-git

OpenSUSE

SierraBreeze can also be installed with zypper

zypper addrepo https://download.opensuse.org/repositories/home:trmdi/openSUSE_Tumbleweed/home:trmdi.repo
zypper refresh
zypper install sierra-breeze

or using the binary package https://software.opensuse.org//download.html?project=home%3Atrmdi&package=sierra-breeze.

Build

There are some dependencies you'll need to build from source. Some people suggested using the following commands:

Ubuntu

sudo apt install build-essential libkf5config-dev libkdecorations2-dev libqt5x11extras5-dev qtdeclarative5-dev extra-cmake-modules libkf5guiaddons-dev libkf5configwidgets-dev libkf5windowsystem-dev libkf5coreaddons-dev gettext

Arch Linux

sudo pacman -S kdecoration qt5-declarative qt5-x11extras    # Decoration
sudo pacman -S cmake extra-cmake-modules                    # Installation

Fedora

sudo dnf install cmake extra-cmake-modules  
sudo dnf install "cmake(Qt5Core)" "cmake(Qt5Gui)" "cmake(Qt5DBus)" "cmake(Qt5X11Extras)" "cmake(KF5GuiAddons)" "cmake(KF5WindowSystem)" "cmake(KF5I18n)" "cmake(KDecoration2)" "cmake(KF5CoreAddons)" "cmake(KF5ConfigWidgets)"

In order to install the theme and add it to your decorations do the following:

git clone https://github.com/ishovkun/SierraBreeze
cd SierraBreeze
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
sudo make install

To avoid logging out, issue

kwin_x11 --replace &

That is it! Your new decoration theme should appear in Settings → Application Style → Window Decorations.

Acknowledgments:

sierrabreeze's People

Contributors

alex47 avatar alunux avatar andydecleyre avatar caglarturali avatar i4mz3r0 avatar ishovkun avatar kennfatt avatar krisives avatar petross404 avatar re1 avatar trmdi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sierrabreeze's Issues

[Question] Unable to follow Documentation for ubuntu

where is "Your new decoration theme should appear in Settings → Application Style → Window Decorations"? I'm unable to find it in Ubuntu 18.4, can you let me know where is it?
I've already made the build successfully. Do I need to install kubuntu-desktop on top of my Ubuntu?
or there is any other way to do it without installing kde?

bolder outline around decoration

This would make it closer to Mac and give a more finished appearance to the window:

image

Also, it may be a good idea to make the active window highlight+outline especially pronounced to better distinguish from inactive.

[Feature Request] Yakuake

Hey there,
First things first: This theme is amazing and I love it!
Now to my question. I would love to see a matching theme for the drop down Shell Yakuake.
Here is a screenshot of my current shell setups for reference:
desktop
I think that they fit "okay" but not quite.. Sadly I am a bit out of time right now and will not be able to do it myself.

GitHub tarball release

Could you make a tarball release here on GitHub so that it could be packaged for different distributions?

Shadow on rounded corner + red button

Hey there,
Just wanted to ask if it is possible to remove the window shadow for the rounded corners without dropping it completely.
image
Also, when using the circle around close-button there are light pixels around the red button. Can this be disabled by default?

Icon for "shade" button

It would be really neat if this had an icon for KDE's shade feature, perhaps a white or grey circle or whatever color you think looks nice.

Regardless, thank you for all the work you have done.

White text on white

Hi,

I've just installed this window decoration and it's great! I'm having a bit of trouble though: in light mode, the title bar font is rendered in white.

Here's Dolphin as an example

Dark mode also has white text, which is normal.
Am I missing a package or something? I'm on the latest KDE neon.

I implemented an option to paint the title bar with the window color

I like very much when my decoration seems to "fit" visually with my window's colors. So I took the liberty to create an option where the user can choose to keep the default style or to match the colors.

It looks like this :

Alt text

and this :

Alt text

It's a click away to revert

Alt text

Ofcourse the konsole is respected (nice work btw with that!)

Alt text

I will open a PR for this. Your c&c are more than welcome.

Crash after the latest commit fd8e1a4

Latest commit fd8e1a4

Steps to reproduce:

  • When do not use SierraBreeze: open System Setting > Application style > Window decorations ->> crash
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffb72aaacc0 (LWP 11682))]

Thread 7 (Thread 0x7ffb31649700 (LWP 11693)):
#0  0x00007ffb6e1022c9 in poll () from /lib64/libc.so.6
#1  0x00007ffb673442c6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7ffb24004a00, timeout=<optimized out>, context=0x7ffb24000bf0) at gmain.c:4204
#2  g_main_context_iterate (context=context@entry=0x7ffb24000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3898
#3  0x00007ffb673443ec in g_main_context_iteration (context=0x7ffb24000bf0, may_block=may_block@entry=1) at gmain.c:3964
#4  0x00007ffb6ea0fb3b in QEventDispatcherGlib::processEvents (this=0x7ffb24000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007ffb6e9bfb3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007ffb6e81e326 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007ffb6c511085 in QQmlThreadPrivate::run (this=0x55eb77f25e40) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:148
#8  0x00007ffb6e8278ec in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#9  0x00007ffb699f9554 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffb6e10cccf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7ffb33d86700 (LWP 11691)):
#0  0x00007ffb673411eb in g_source_iter_next (iter=iter@entry=0x7ffb33d85ba0, source=source@entry=0x7ffb33d85b98) at gmain.c:982
#1  0x00007ffb67343733 in g_main_context_prepare (context=context@entry=0x7ffb2c000bf0, priority=priority@entry=0x7ffb33d85c20) at gmain.c:944
#2  0x00007ffb673441fb in g_main_context_iterate (context=context@entry=0x7ffb2c000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3883
#3  0x00007ffb673443ec in g_main_context_iteration (context=0x7ffb2c000bf0, may_block=may_block@entry=1) at gmain.c:3964
#4  0x00007ffb6ea0fb3b in QEventDispatcherGlib::processEvents (this=0x7ffb2c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007ffb6e9bfb3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007ffb6e81e326 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007ffb6c511085 in QQmlThreadPrivate::run (this=0x55eb77d60dd0) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:148
#8  0x00007ffb6e8278ec in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#9  0x00007ffb699f9554 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffb6e10cccf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7ffb3b9de700 (LWP 11689)):
#0  0x00007ffb6e1022c9 in poll () from /lib64/libc.so.6
#1  0x00007ffb673442c6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7ffb34003ce0, timeout=<optimized out>, context=0x7ffb34000bf0) at gmain.c:4204
#2  g_main_context_iterate (context=context@entry=0x7ffb34000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3898
#3  0x00007ffb673443ec in g_main_context_iteration (context=0x7ffb34000bf0, may_block=may_block@entry=1) at gmain.c:3964
#4  0x00007ffb6ea0fb3b in QEventDispatcherGlib::processEvents (this=0x7ffb34000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007ffb6e9bfb3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007ffb6e81e326 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007ffb6c511085 in QQmlThreadPrivate::run (this=0x55eb72207e30) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:148
#8  0x00007ffb6e8278ec in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#9  0x00007ffb699f9554 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffb6e10cccf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ffb4395b700 (LWP 11688)):
#0  0x00007ffb6e1022c9 in poll () from /lib64/libc.so.6
#1  0x00007ffb673442c6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7ffb3c004a00, timeout=<optimized out>, context=0x7ffb3c000bf0) at gmain.c:4204
#2  g_main_context_iterate (context=context@entry=0x7ffb3c000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3898
#3  0x00007ffb673443ec in g_main_context_iteration (context=0x7ffb3c000bf0, may_block=may_block@entry=1) at gmain.c:3964
#4  0x00007ffb6ea0fb3b in QEventDispatcherGlib::processEvents (this=0x7ffb3c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007ffb6e9bfb3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007ffb6e81e326 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007ffb6c511085 in QQmlThreadPrivate::run (this=0x55eb71f1c480) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:148
#8  0x00007ffb6e8278ec in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#9  0x00007ffb699f9554 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffb6e10cccf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ffb4a1b7700 (LWP 11686)):
#0  0x00007ffb699ff4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffb4ae7479b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007ffb4ae744c7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007ffb699f9554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffb6e10cccf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ffb5698d700 (LWP 11685)):
#0  QThreadData::canWaitLocked (this=0x55eb718c0780) at ../../include/QtCore/5.11.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:255
#1  postEventSourcePrepare (s=0x7ffb50004ba0, timeout=timeout@entry=0x7ffb5698cb84) at kernel/qeventdispatcher_glib.cpp:259
#2  0x00007ffb673437f9 in g_main_context_prepare (context=context@entry=0x7ffb50000bf0, priority=priority@entry=0x7ffb5698cc10) at gmain.c:3475
#3  0x00007ffb673441fb in g_main_context_iterate (context=context@entry=0x7ffb50000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3883
#4  0x00007ffb673443ec in g_main_context_iteration (context=0x7ffb50000bf0, may_block=may_block@entry=1) at gmain.c:3964
#5  0x00007ffb6ea0fb3b in QEventDispatcherGlib::processEvents (this=0x7ffb50000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007ffb6e9bfb3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007ffb6e81e326 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007ffb6ee60f45 in QDBusConnectionManager::run (this=0x7ffb6f0d6d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#9  0x00007ffb6e8278ec in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#10 0x00007ffb699f9554 in start_thread () from /lib64/libpthread.so.0
#11 0x00007ffb6e10cccf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffb72aaacc0 (LWP 11682)):
[KCrash Handler]
#6  0x00007ffb6e89c4bc in QString::toIntegral_helper<int> (base=10, ok=0x0, len=<error reading variable: Cannot access memory at address 0x756f00726f6c6f47>, data=<error reading variable: Cannot access memory at address 0x756f00726f6c6f53>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:895
#7  QString::toInt (this=<optimized out>, ok=ok@entry=0x0, base=base@entry=10) at tools/qstring.cpp:7078
#8  0x00007ffb31f7d395 in SierraBreeze::Decoration::readKonsoleProfileColor (this=this@entry=0x55eb7a9a1a60) at /usr/include/qt5/QtCore/qlist.h:115
#9  0x00007ffb31f7dd9e in SierraBreeze::Decoration::reconfigure (this=this@entry=0x55eb7a9a1a60) at /usr/src/debug/sierra-breeze-999.git.1531453864.fd8e1a4-14.1.x86_64/breezedecoration.cpp:321
#10 0x00007ffb31f7dfd0 in SierraBreeze::Decoration::init (this=0x55eb7a9a1a60) at /usr/src/debug/sierra-breeze-999.git.1531453864.fd8e1a4-14.1.x86_64/breezedecoration.cpp:164
#11 0x00007ffb3292d2b3 in ?? () from /usr/lib64/qt5/qml/org/kde/kwin/private/kdecoration/libkdecorationprivatedeclarative.so
#12 0x00007ffb6c50492e in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/qqmlobjectcreator.cpp:1359
#13 0x00007ffb6c48411a in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/qqmlincubator.cpp:344
#14 0x00007ffb6c48490a in QQmlIncubationController::incubateFor (this=this@entry=0x55eb77ff33f0, msecs=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/include/QtQml/5.11.1/QtQml/private/../../../../../src/qml/qml/ftw/qintrusivelist_p.h:216
#15 0x00007ffb6ca76410 in QQuickWindowIncubationController::incubate (this=0x55eb77ff33e0) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/quick/items/qquickwindow.cpp:160
#16 QQuickWindowIncubationController::timerEvent (this=0x55eb77ff33e0) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/quick/items/qquickwindow.cpp:143
#17 0x00007ffb6e9e93ab in QObject::event(QEvent*) () at kernel/qobject.cpp:1232
#18 0x00007ffb6f9cdc11 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007ffb6f9d4df0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007ffb6e9c0d29 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#21 0x00007ffb6ea0f058 in QCoreApplication::sendEvent (event=0x7ffc3d7c3c30, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#22 QTimerInfoList::activateTimers() () at kernel/qtimerinfo_unix.cpp:643
#23 0x00007ffb6ea0f7f4 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#24 0x00007ffb673440be in g_main_dispatch (context=0x7ffb58004ff0) at gmain.c:3177
#25 g_main_context_dispatch (context=context@entry=0x7ffb58004ff0) at gmain.c:3830
#26 0x00007ffb67344358 in g_main_context_iterate (context=context@entry=0x7ffb58004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3903
#27 0x00007ffb673443ec in g_main_context_iteration (context=0x7ffb58004ff0, may_block=may_block@entry=1) at gmain.c:3964
#28 0x00007ffb6ea0fb23 in QEventDispatcherGlib::processEvents (this=0x55eb71880b90, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007ffb61b25641 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#30 0x00007ffb6e9bfb3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#31 0x00007ffb6e9c78be in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#32 0x000055eb6fd84aa0 in ?? ()
#33 0x00007ffb6e034feb in __libc_start_main () from /lib64/libc.so.6
#34 0x000055eb6fd84b2a in _start ()

  • When using SierraBreeze: Restart the computer > Open any app --> crash.

@alex47

[Request] Darker button color / shade when holding left-click?

Is it possible to add an "on-clicked" appearance for the window decoration buttons so that we know it's been clicked? For example, if a person hovers over the close button and holds left-click, while it's being held down it should just show a darker shade of red.

Rounded corners not always used

I've noticed that when minimizing and maximising windows, they randomly will apply the orunded corners, and will sometimes show sharp corners. I've attached a picture of what I mean. Would this be a setting or perhaps just a bug in Breeze?
screenshot_20180224_221916

Compile failed

make[2]: Leaving directory '/home/coder/.cache/yay/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build'
make[1]: *** [CMakeFiles/Makefile2:405: CMakeFiles/sierrabreeze.dir/all] Error 2
make[1]: Leaving directory '/home/coder/.cache/yay/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build'
make: *** [Makefile:150: all] Error 2
make: Leaving directory '/home/coder/.cache/yay/sierrabreeze-kwin-decoration-git/src/SierraBreeze/build'
==> ERROR: A failure occurred in package().
Aborting...
Error making: sierrabreeze-kwin-decoration-git

Allow larger px in config options

The config options for button size allow up to 15px, and shadow up to 64px. It would be appreciated if larger sizes were supported. I run a HIDPI (4k) monitor on a small screen (XPS 13) at 2x scaling, and would love buttons larger than 15px to make them more touch friendly.

After installation it doesn't appear in Application Style → Window Decorations

How do I debug this? I've had no errors during installation:

[~/SierraBreeze] 10:42
dreszczyk ⠕ mkdir build

[~/SierraBreeze] 10:42
dreszczyk ⠕ cd build
razem 0

[~/SierraBreeze/build] 10:42
dreszczyk ⠕ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.48.0") 
-- Found KF5GuiAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.48.0") 
-- Found KF5ConfigWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.48.0") 
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.48.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.7") 
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.48.0") 
-- Found KF5: success (found version "5.48.0") found components:  CoreAddons GuiAddons ConfigWidgets WindowSystem I18n 
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
-- Found XCB_XCB: /usr/lib/x86_64-linux-gnu/libxcb.so  
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so  found components:  XCB 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/dreszczyk/SierraBreeze/build

[~/SierraBreeze/build] 10:43
dreszczyk ⠕ sudo make install
[sudo] hasło użytkownika dreszczyk: 
Scanning dependencies of target sierrabreeze_automoc
[  5%] Automatic moc for target sierrabreeze
Generating breezedecoration.moc
Generating moc_breezebutton.cpp
Generating moc_breezedecoration.cpp
Generating moc_breezesettingsprovider.cpp
Generating moc_breezesizegrip.cpp
Generating moc_breezeconfigwidget.cpp
Generating moc_breezedetectwidget.cpp
Generating moc_breezeexceptiondialog.cpp
Generating moc_breezeexceptionlistwidget.cpp
[  5%] Built target sierrabreeze_automoc
[ 10%] Generating ui_breezeexceptionlistwidget.h
[ 15%] Generating breezesettings.h, breezesettings.cpp
[ 20%] Generating ui_breezeconfigurationui.h
[ 25%] Generating ui_breezedetectwidget.h
[ 30%] Generating ui_breezeexceptiondialog.h
Scanning dependencies of target sierrabreeze
[ 35%] Building CXX object CMakeFiles/sierrabreeze.dir/breezebutton.cpp.o
[ 40%] Building CXX object CMakeFiles/sierrabreeze.dir/breezedecoration.cpp.o
[ 45%] Building CXX object CMakeFiles/sierrabreeze.dir/breezeexceptionlist.cpp.o
[ 50%] Building CXX object CMakeFiles/sierrabreeze.dir/breezesettingsprovider.cpp.o
[ 55%] Building CXX object CMakeFiles/sierrabreeze.dir/breezesizegrip.cpp.o
[ 60%] Building CXX object CMakeFiles/sierrabreeze.dir/breezesettings.cpp.o
[ 65%] Building CXX object CMakeFiles/sierrabreeze.dir/config/breezeconfigwidget.cpp.o
[ 70%] Building CXX object CMakeFiles/sierrabreeze.dir/config/breezedetectwidget.cpp.o
[ 75%] Building CXX object CMakeFiles/sierrabreeze.dir/config/breezeexceptiondialog.cpp.o
[ 80%] Building CXX object CMakeFiles/sierrabreeze.dir/config/breezeexceptionlistwidget.cpp.o
[ 85%] Building CXX object CMakeFiles/sierrabreeze.dir/config/breezeexceptionmodel.cpp.o
[ 90%] Building CXX object CMakeFiles/sierrabreeze.dir/config/breezeitemmodel.cpp.o
[ 95%] Building CXX object CMakeFiles/sierrabreeze.dir/sierrabreeze_automoc.cpp.o
[100%] Linking CXX shared module sierrabreeze.so
[100%] Built target sierrabreeze
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/sierrabreeze.so
-- Installing: /usr/share/kservices5/sierrabreezeconfig.desktop

[~/SierraBreeze/build] 10:43

error: ‘baseSize’ was not declared in this scope

I get the error

SierraBreeze/breezedecoration.cpp:560:16: error: ‘baseSize’ was not declared in this scope
make[2]: *** [CMakeFiles/sierrabreeze.dir/build.make:111: CMakeFiles/sierrabreeze.dir/breezedecoration.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:388: CMakeFiles/sierrabreeze.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

when trying to compile it with recent commits.

Although I dont think it's the compiler, I'm using gcc 7.3

[Request] Make a release tag

Hello!
if you consider this theme to be stable enough, would make a 1.0 release tag? I'd like to request the inclusion of SierraBreeze in my favourite distro, but that's not possible without a proper release tag.

Title Bar Color

Is there a way to implement a setting that can change the title bar colour for each application like in Breezeway.

[Feature request] Homogeneity of windows shadows and drop-down menus shadows

A the difference of original Breeze kwin, It seems impossible to get homogeneity between windows shadows and drop-down menus shadows.
If shadow is set to 64px 100%: the drop-down menus shadow (still thin) seems very very different than the shadow of the windows (huge).
And then if the shadow is set to 48px 50%: the drop-down menus shadows is almost invisible but still very visible under the windows.

[Suggestion] Some ideas for enhancement

First, many thanks for this great Kwin decoration! There are few things I'd like to suggest:
Make corner rounding configurable
Let users change window buttons colours.
Why not create a matching Qt5 style or at least apply custom stylesheets to Breeze (like, making button paddings smaller)?

Please take a look at DSP:
https://www.deviantart.com/art/DSP-shell-tar-546283883
It looks very nice although there are few odds and inconsistencies that you can discover after a while. Having a better macOS-inspired style would just great!

white bar at the buttom

am seeing this white bar at the bottom of any non maximized window
i do have borders turned off from theme settings and the settings page
here is a screenshot of reference

screenshot_20180113_211854

[Question] How to set other apps in dark mode

Hi ... first at all ...EXCELLENT WORK!!!

It is possible to set /add other apps (and not only konsole) in dark mode?. For example, mpv looks great with a dark border.

Thank you in advance

Failing to Compile

When running yay -S the-long-ass-name-of-the-package I get this:

[  5%] Automatic MOC for target sierrabreeze
[  5%] Built target sierrabreeze_autogen
[ 10%] Generating ui_breezeexceptionlistwidget.h
[ 15%] Generating breezesettings.h, breezesettings.cpp
[ 20%] Generating ui_breezeconfigurationui.h
[ 25%] Generating ui_breezedetectwidget.h
[ 30%] Generating ui_breezeexceptiondialog.h
Scanning dependencies of target sierrabreeze
[ 35%] Building CXX object CMakeFiles/sierrabreeze.dir/breezebutton.cpp.o
In file included from /usr/include/qt/QtGui/QColor:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:30,
                 from /home/buttars/SierraBreeze/build/SierraBreeze/build/breezesettings.h:7,
                 from /home/buttars/SierraBreeze/build/SierraBreeze/breeze.h:24,
                 from /home/buttars/SierraBreeze/build/SierraBreeze/breezedecoration.h:25,
                 from /home/buttars/SierraBreeze/build/SierraBreeze/breezebutton.h:26,
                 from /home/buttars/SierraBreeze/build/SierraBreeze/breezebutton.cpp:23:
/usr/include/qt/QtGui/qcolor.h:78:39: error: expected ‘)’ before ‘name’
     explicit inline QColor(QStringView name);
                           ~           ^~~~~
                                       )
/usr/include/qt/QtGui/qcolor.h:104:24: error: ‘QStringView’ has not been declared
     void setNamedColor(QStringView name);
                        ^~~~~~~~~~~
/usr/include/qt/QtGui/qcolor.h:233:30: error: ‘QStringView’ has not been declared
     static bool isValidColor(QStringView) Q_DECL_NOTHROW;
                              ^~~~~~~~~~~
/usr/include/qt/QtGui/qcolor.h:292:23: error: ‘int QColor::QColor’ is not a static data member of ‘class QColor’
 inline QColor::QColor(QStringView aname)
                       ^~~~~~~~~~~
/usr/include/qt/QtGui/qcolor.h:292:23: error: ‘QStringView’ was not declared in this scope
/usr/include/qt/QtGui/qcolor.h:292:23: note: suggested alternative: ‘QStringRef’
 inline QColor::QColor(QStringView aname)
                       ^~~~~~~~~~~
                       QStringRef
In file included from /usr/include/qt/QtGui/QImage:1,
                 from /usr/include/KDecoration2/kdecoration2/decorationshadow.h:27,
                 from /usr/include/KDecoration2/kdecoration2/decoration.h:24,
                 from /usr/include/KDecoration2/KDecoration2/Decoration:1,
                 from /home/buttars/SierraBreeze/build/SierraBreeze/breezedecoration.h:28,
                 from /home/buttars/SierraBreeze/build/SierraBreeze/breezebutton.h:26,
                 from /home/buttars/SierraBreeze/build/SierraBreeze/breezebutton.cpp:23:
/usr/include/qt/QtGui/qimage.h:220:5: error: ‘qsizetype’ does not name a type; did you mean ‘iswctype’?
     qsizetype sizeInBytes() const;
     ^~~~~~~~~
     iswctype
make[2]: *** [CMakeFiles/sierrabreeze.dir/build.make:87: CMakeFiles/sierrabreeze.dir/breezebutton.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:393: CMakeFiles/sierrabreeze.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

The error also happens when I try to build manually.

Compilation error

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...

Bug in a window edge

There's an error in the window edge when I move the windows above the edge of another window.
bug

[Suggestion] Add blur support

Make it an option to make the titlebar transparent and add blur behind it.
I think this property has to be added to the titlebar code somewhere:
_KDE_NET_WM_BLUR_BEHIND_REGION

For example if I want to add blur behind Konsole, first I make the background transparent in the appearance settings, then I add this to the ~/.bashrc file:

if [[ $(ps --no-header -p $PPID -o comm) =~ yakuake|konsole ]]; then
        for wid in $(xdotool search --pid $PPID); do
            xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $wid; done
fi

only white variant gets installed

i see in the screenshots that there is a dark variant but I cant get it to install it only installs the white variant
any help regarding this will be appreciated

Strange artifacts / holes in titlebar on hover

This doesn't happen all the time, but frequently enough to annoy me enough to submit a bug. When hovering the cursor over the window buttons, "holes" will appear in the window boarder. Anything that is below the window can be seen through these "holes," and they happen on both active and inactive windows.

Changing the active state of the window will usually make them go away, until they randomly reappear.

Operating System: Manjaro Linux
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Kernel Version: 5.0.5-1-MANJARO
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-5200U CPU @ 2.20GHz
Memory: 19.5 GiB of RAM

Window Decoration Breakage

[Suggestion] Increase/add contrast pixel

This is a great decoration, but when i'm using it i always feel that it is missing something.. it's too "naked".

Having a 1px dark but subtle line around the decoration makes it easy to distinguish between overlaping windows, and, imo, improve the appearance.

screenshot_20180801_223439

With contrast pixels:
screenshot_20180801_223531

In the second screenshot the window has also a lighter line on the top, but with just the dark line would make it look better.

Colour scheme does not follow GTK / QT Theme

So I set this up , thinking it would have a dark colour or a light colour depending on the QT / KDE Theme, but found that it seemed to keep the default Breeze theme colour scheme, where it is an odd blue/gray colour gradient, and looks rather poor.

Does this theme automatically update it's background colour / image and buttons dependant on the desktop theme or?

Questions about packaging SierraBreeze

Hello, I am KDE/Gentoo user and I want to package SierraBreeze for portage. Can you please tell me under which license this software is?

Also is the list of the dependencies only that size or there are other packages too?

Thank you.

Looking to create a package for Gentoo

Hi, nice job you have done there 👍

I managed to get the dependencies with lddtree :

libkdecorations2.so.5 => /usr/lib64/libkdecorations2.so.5
        libkdecorations2private.so.6 => /usr/lib64/libkdecorations2private.so.6
    libKF5ConfigWidgets.so.5 => /usr/lib64/libKF5ConfigWidgets.so.5
        libKF5Codecs.so.5 => /usr/lib64/libKF5Codecs.so.5
        libKF5Auth.so.5 => /usr/lib64/libKF5Auth.so.5
    libKF5GuiAddons.so.5 => /usr/lib64/libKF5GuiAddons.so.5
        libX11.so.6 => /usr/lib64/libX11.so.6
            libdl.so.2 => /lib64/libdl.so.2
                ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
    libKF5I18n.so.5 => /usr/lib64/libKF5I18n.so.5
    libKF5WindowSystem.so.5 => /usr/lib64/libKF5WindowSystem.so.5
        libxcb-keysyms.so.1 => /usr/lib64/libxcb-keysyms.so.1
    libQt5X11Extras.so.5 => /usr/lib64/libQt5X11Extras.so.5
    libxcb.so.1 => /usr/lib64/libxcb.so.1
        libXau.so.6 => /usr/lib64/libXau.so.6
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6
            libbsd.so.0 => /usr/lib64/libbsd.so.0
                librt.so.1 => /lib64/librt.so.1
                    libpthread.so.0 => /lib64/libpthread.so.0
    libKF5WidgetsAddons.so.5 => /usr/lib64/libKF5WidgetsAddons.so.5
    libKF5ConfigGui.so.5 => /usr/lib64/libKF5ConfigGui.so.5
        libQt5Xml.so.5 => /usr/lib64/libQt5Xml.so.5
    libKF5ConfigCore.so.5 => /usr/lib64/libKF5ConfigCore.so.5
    libQt5DBus.so.5 => /usr/lib64/libQt5DBus.so.5
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3
    libKF5CoreAddons.so.5 => /usr/lib64/libKF5CoreAddons.so.5
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libgcc_s.so.1
    libQt5Widgets.so.5 => /usr/lib64/libQt5Widgets.so.5
    libQt5Gui.so.5 => /usr/lib64/libQt5Gui.so.5
        libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1
            libGLX.so.0 => /usr/lib64/opengl/nvidia/lib/libGLX.so.0
                libXext.so.6 => /usr/lib64/libXext.so.6
            libGLdispatch.so.0 => /usr/lib64/opengl/nvidia/lib/libGLdispatch.so.0
        libpng16.so.16 => /usr/lib64/libpng16.so.16
        libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0
            libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0
                libpcre.so.1 => /lib64/libpcre.so.1
            libfreetype.so.6 => /usr/lib64/libfreetype.so.6
                libbz2.so.1 => /lib64/libbz2.so.1
            libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3
        libz.so.1 => /lib64/libz.so.1
    libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5
        libicui18n.so.60 => /usr/lib64/libicui18n.so.60
        libicuuc.so.60 => /usr/lib64/libicuuc.so.60
            libicudata.so.60 => /usr/lib64/libicudata.so.60
        libpcre2-16.so.0 => /usr/lib64/libpcre2-16.so.0
        libdouble-conversion.so.1 => /usr/lib64/libdouble-conversion.so.1
    libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libstdc++.so.6
    libm.so.6 => /lib64/libm.so.6
    libc.so.6 => /lib64/libc.so.6

I am wondering though what qt, frameworks and plasma version minimals exist if any? Also I miss the exact license of the software. Can you please help me?

Thanks!

Failing to build with GCC 7.2.1

`[  5%] Automatic MOC for target sierrabreeze
AutoMoc warning:
  "/home/nimbus/SierraBreeze/breezedecoration.cpp"
The file includes the moc file "breezedecoration.moc", but does not contain a Q_OBJECT, Q_GADGET or Q_NAMESPACE macro.

[  5%] Built target sierrabreeze_autogen
[ 10%] Building CXX object CMakeFiles/sierrabreeze.dir/breezesizegrip.cpp.o
In file included from /usr/include/qt/QtWidgets/QWidget:1:0,
                 from /home/nimbus/SierraBreeze/breezesizegrip.h:28,
                 from /home/nimbus/SierraBreeze/breezesizegrip.cpp:21:
/usr/include/qt/QtWidgets/qwidget.h:186:14: error: missing binary operator before token "("
 #if QT_CONFIG(statustip)
              ^
/usr/include/qt/QtWidgets/qwidget.h:189:14: error: missing binary operator before token "("
 #if QT_CONFIG(whatsthis)
              ^
/usr/include/qt/QtWidgets/qwidget.h:350:14: error: missing binary operator before token "("
 #if QT_CONFIG(graphicseffect)
              ^
/usr/include/qt/QtWidgets/qwidget.h:389:14: error: missing binary operator before token "("
 #if QT_CONFIG(statustip)
              ^
/usr/include/qt/QtWidgets/qwidget.h:393:14: error: missing binary operator before token "("
 #if QT_CONFIG(whatsthis)
              ^
/usr/include/qt/QtWidgets/qwidget.h:454:14: error: missing binary operator before token "("
 #if QT_CONFIG(graphicsview)
              ^
/usr/include/qt/QtWidgets/qwidget.h:616:14: error: missing binary operator before token "("
 #if QT_CONFIG(wheelevent)
              ^
/usr/include/qt/QtWidgets/qwidget.h:632:14: error: missing binary operator before token "("
 #if QT_CONFIG(tabletevent)
              ^
/usr/include/qt/QtWidgets/qwidget.h: In member function ‘void QWidget::setTabletTracking(bool)’:
/usr/include/qt/QtWidgets/qwidget.h:817:20: error: ‘WA_TabletTracking’ is not a member of ‘Qt’
 { setAttribute(Qt::WA_TabletTracking, enable); }
                    ^~~~~~~~~~~~~~~~~
/usr/include/qt/QtWidgets/qwidget.h:817:20: note: suggested alternative: ‘WA_MouseTracking’
 { setAttribute(Qt::WA_TabletTracking, enable); }
                    ^~~~~~~~~~~~~~~~~
                    WA_MouseTracking
/usr/include/qt/QtWidgets/qwidget.h: In member function ‘bool QWidget::hasTabletTracking() const’:
/usr/include/qt/QtWidgets/qwidget.h:820:28: error: ‘WA_TabletTracking’ is not a member of ‘Qt’
 { return testAttribute(Qt::WA_TabletTracking); }
                            ^~~~~~~~~~~~~~~~~
/usr/include/qt/QtWidgets/qwidget.h:820:28: note: suggested alternative: ‘WA_MouseTracking’
 { return testAttribute(Qt::WA_TabletTracking); }
                            ^~~~~~~~~~~~~~~~~
                            WA_MouseTracking
make[2]: *** [CMakeFiles/sierrabreeze.dir/build.make:183: CMakeFiles/sierrabreeze.dir/breezesizegrip.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:388: CMakeFiles/sierrabreeze.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.