Code Monkey home page Code Monkey logo

lightly's Introduction

This is a personal fork of Lightly where I merge pull requests sent to Luwx/Lightly

Lightly is a fork of breeze theme style that aims to be visually modern and minimalistic.

Notes about this fork

  • Do not open pull requests directly here unless they change/require some code that has diverged from upstream
  • If the pull request can sucessfully be merged into Luwx/Lightly, please open it there and I will merge it here. My intention is not for this to be a permanent fork (hopefully Luwx comes back!)
  • Similarly, don't open issues here unless the issue was likely caused by some code here that's not in Luwx/Lightly

These rules are because I don't want to diverge too far from upstream. It should be easy for Luwx to catch up.

Thanks ❤️🐢

Development ⚠️

Lightly is a work in progress theme, there is still a lot to change, so expect bugs! Some applications may suddenly crash or flicker.

Screenshots

default

With transparent dolphin view off and no sidebar transparency: custom

With a full glass color scheme (currently full glass color schemes are very buggy and not fully supported): fullglass

Configuration

config page

Lightly configuration page can be found in the KDE system settings under the Application style section.

Most of these options are inherited from Breeze style, but Lightly has a few exclusive options that are enabled by default, including:

  • Transparent Dolphin view (under the frames tab). This option disables the background and shadows of Dolphin view widget and draws top and bottom separators when the view has scrollable content.

  • Sidebar opacity (under the transparency tab). By default, it's 60. If it's bellow 100, shadows will be drawn automatically.

The toolbar and menubar will follow the titlebar opacity. To configure the titlebar opacity, you will have to change the color scheme file directly in ~/.local/share/color-schemes. Open your desired color scheme and, in the [WM] section, add a fourth value to activeBackground and inactiveBackground, like activeBackground=0,0,0,127 where the last value is the alpha, that ranges from 0 (completely transparent) to 255 (totally opaque).

Manual installation

Dependencies

Taken from https://github.com/n4n0GH/hello

Ubuntu

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

Arch Linux

sudo pacman -S cmake extra-cmake-modules kdecoration qt5-declarative qt5-x11extras

Fedora

sudo dnf install cmake extra-cmake-modules "cmake(Qt5Core)" "cmake(Qt5Gui)" "cmake(Qt5DBus)" "cmake(Qt5X11Extras)" "cmake(KF5GuiAddons)" "cmake(KF5WindowSystem)" "cmake(KF5I18n)" "cmake(KDecoration2)" "cmake(KF5CoreAddons)" "cmake(KF5ConfigWidgets)" "cmake(Qt5UiTools)" "cmake(KF5GlobalAccel)" "cmake(KF5IconThemes)" kwin-devel libepoxy-devel "cmake(KF5Init)" "cmake(KF5Crash)" "cmake(KF5KIO)" "cmake(KF5Notifications)" kf5-kpackage-devel

openSUSE

sudo zypper install cmake gcc-c++ extra-cmake-modules libQt5Gui-devel libQt5DBus-devel libqt5-qttools-devel libqt5-qtx11extras-devel libQt5OpenGL-devel libQt5Network-devel libepoxy-devel kconfig-devel kconfigwidgets-devel kcrash-devel kglobalaccel-devel ki18n-devel kio-devel kservice-devel kinit-devel knotifications-devel kwindowsystem-devel kguiaddons-devel kiconthemes-devel kpackage-devel kwin5-devel xcb-util-devel xcb-util-cursor-devel xcb-util-wm-devel xcb-util-keysyms-devel

Solus

sudo eopkg install extra-cmake-modules kdecoration-devel qt5-declarative-devel qt5-x11extras-devel qt5-base-devel kcoreaddons-devel kguiaddons-devel kconfigwidgets-devel kwindowsystem-devel ki18n-devel kiconthemes-devel kcmutils-devel libxcb-devel xcb-util-devel qt5-wayland-devel kwayland-devel wayland-devel frameworkintegration-devel

Build and install

git clone --single-branch --depth=1 https://github.com/boehs/Lightly.git
cd Lightly && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF ..
make
sudo make install

For RedHat-based distros (like Fedora and OpenSUSE), run cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib64 -DBUILD_TESTING=OFF .. instead (#4)

Uninstall

In the build folder:

sudo make uninstall

Acknowledgments

Breeze authors and Kvantum developer Pedram Pourang.

lightly's People

Contributors

aleixpol avatar andreas-kainz avatar bhush9 avatar boehs avatar chalker avatar davidedmundson avatar elvisangelaccio avatar flying-sheep avatar gb2dev avatar hsitter avatar jamboarder avatar jriddell avatar kbroulik avatar ken-vermette avatar kossebau avatar lbeltrame avatar luwx avatar mgraesslin avatar montel avatar nicolasfella avatar noahadvs avatar notmart avatar nowrep avatar pointedstick avatar sebasje avatar sodivad avatar vogtinator avatar walldmtd avatar xuzhao9 avatar zzag 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

lightly's Issues

Build issues on Arch Linux when installed from AUR package

-- Could NOT find KF6CoreAddons (missing: KF6CoreAddons_DIR)
-- Could NOT find KF6CoreAddons: found neither KF6CoreAddonsConfig.cmake nor kf6coreaddons-config.cmake
-- Could NOT find KF6ColorScheme (missing: KF6ColorScheme_DIR)
-- Could NOT find KF6ColorScheme: found neither KF6ColorSchemeConfig.cmake nor kf6colorscheme-config.cmake
-- Could NOT find KF6Config (missing: KF6Config_DIR)
-- Could NOT find KF6Config: found neither KF6ConfigConfig.cmake nor kf6config-config.cmake
-- Could NOT find KF6GuiAddons (missing: KF6GuiAddons_DIR)
-- Could NOT find KF6GuiAddons: found neither KF6GuiAddonsConfig.cmake nor kf6guiaddons-config.cmake
-- Found Gettext: /usr/bin/msgmerge (found version "0.22.4")
-- Found KF6I18n: /usr/lib/cmake/KF6I18n/KF6I18nConfig.cmake (found version "6.0.0")
-- Could NOT find KF6IconThemes (missing: KF6IconThemes_DIR)
-- Could NOT find KF6IconThemes: found neither KF6IconThemesConfig.cmake nor kf6iconthemes-config.cmake
-- Could NOT find KF6WindowSystem (missing: KF6WindowSystem_DIR)
-- Could NOT find KF6WindowSystem: found neither KF6WindowSystemConfig.cmake nor kf6windowsystem-config.cmake
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find KF6 (missing: CoreAddons ColorScheme Config GuiAddons
  IconThemes WindowSystem) (found suitable version "6.0.0", minimum required
  is "5.240.0")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF6.cmake:93 (find_package_handle_standard_args)
  CMakeLists.txt:42 (find_package)

Title bar blur

Hello, coming from this issue Luwx#204

Is your fork working for the title bar, or do we need to wait for the #13 ?

Test in KDE 6.2 with wayland
2024-03-22_19-29

Thanks :)

Manually disable shadows on windows-dekoration?

Hi

Im very happy that Lightly works in Kubuntu 24.04 quite well. But because I cant edit the window decoration of Lightly in Kubuntu 24.04 (23.10 already) to turn off the shadows, I would like to ask if it is possible to do this manually in a configuration file?

Thanks for replying and for your awesome work!

"Korners" bug is back on menus (Qt 6 version)

This occurs for me on Plasma 6.0.1 after installing the Qt6 version from the associated AUR package.

Steps to reproduce:
1: Set "Lightly" as application style
2: Ensure "Blur" effect is enabled
3: Change the menu opacity to make it translucent
4: Right click on any app or the desktop, observe the corners of the menu.

Screenshot_20240313_104850

SYSTEM INFO:
Intel Core i5-1135G7 (4C 8T)
Intel Iris Xe Graphics (80EU, i915 driver)
16GB RAM @ 3200MHz (2x 8GB)
500GB ADATA Legend 800 SSD

Arch Linux
Plasma 6.0.1
Frameworks 6.0.0
Qt 6.6.2
Zen Kernel 6.7.9-zen1-1-zen (64-bit)
Wayland windowing system (This issue also persists on X11)

Qt6Gui considered NOT FOUND on KDE Neon

I followed the "Build and install" steps, but I get a problem when launching inside of the "build" directory:
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF ..

I get the following error:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreVersionlessTargets.cmake:42 (message):
  Some (but not all) targets in this export set were already defined.

  Targets Defined: Qt::Core

  Targets not yet defined: Qt::CorePrivate

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreConfig.cmake:72 (include)
  /usr/share/cmake-3.29/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiDependencies.cmake:42 (_qt_internal_find_qt_dependencies)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake:53 (include)
  /usr/share/cmake-3.29/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib/x86_64-linux-gnu/cmake/KDecoration2/KDecoration2Config.cmake:38 (find_dependency)
  CMakeLists.txt:25 (find_package)


CMake Error at /usr/share/cmake-3.29/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
  Found package configuration file:

    /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake

  but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
  NOT FOUND.
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/KDecoration2/KDecoration2Config.cmake:38 (find_dependency)
  CMakeLists.txt:25 (find_package)


-- Configuring incomplete, errors occurred!

I'm on KDE Neon 6.0 with KDE Plasma 6.0.4; QT version is 6.7.0.

When using lightly, dolphin switches back to the old style space information style.

At least from the photos of lightly, it should be using the modern thin style space meter instead of the older, larger style one.
Screenshot_20221103_184447

Sys info:
Operating System: openSUSE Tumbleweed 20221024
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.3-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × 12th Gen Intel® Core™ i5-1240P
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Framework
Product Name: Laptop (12th Gen Intel Core)
System Version: A4

I also have these other theme elements applied:
SierraBreezeEnhanced window decorations
A weird conglomeration of two different plasma styles

If I apply the stock breeze application style the issue goes away.

If you need any more info, just tell me how to get it and I'd be happy to provide you with it.

hello

my device info:
Operating System: openSUSE Tumbleweed 20240110
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1
Kernel Version: 6.6.10-1-default (64-bit)
Graphics Platform: Wayland

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib64 -DBUILD_TESTING=OFF ..

error info:
CMake Error at /usr/lib64/cmake/Qt6Core/Qt6CoreVersionlessTargets.cmake:42 (message):
Some (but not all) targets in this export set were already defined.

Targets Defined: Qt::Core

Targets not yet defined: Qt::CorePrivate

Call Stack (most recent call first):
/usr/lib64/cmake/Qt6Core/Qt6CoreConfig.cmake:68 (include)
/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/usr/lib64/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
/usr/lib64/cmake/Qt6Gui/Qt6GuiDependencies.cmake:39 (_qt_internal_find_qt_dependencies)
/usr/lib64/cmake/Qt6Gui/Qt6GuiConfig.cmake:50 (include)
/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/usr/lib64/cmake/KDecoration2/KDecoration2Config.cmake:38 (find_dependency)
CMakeLists.txt:25 (find_package)

CMake Error at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
Found package configuration file:

/usr/lib64/cmake/Qt6Gui/Qt6GuiConfig.cmake

but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
NOT FOUND.
Call Stack (most recent call first):
/usr/lib64/cmake/KDecoration2/KDecoration2Config.cmake:38 (find_dependency)
CMakeLists.txt:25 (find_package)

[FR] Ability to disable button 3D widget border

Hello!
Firstly, thank you for this amazing project!

I've been using this theme for several months now, and everything is just better than the original Breeze theme!

However, I have a little problem with Qt widgets style when using the dark color scheme :

Do you see that little border color at the top?
I wonder if there is a way to remove it....

Any help is appreciated!

Thanks in advance!

Weird issue with one item menu

Hi! I'm having this issue
image

It seems it's present only with one element menu

This is what I'm using:

Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-1020-oem (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Dell Inc.
Product Name: XPS 17 9720

Not sure if this is a bug on LightlyShaders or Lightly so I create the issue in both repos

Compilation problem

[ 74%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlydecoration.cpp.o
 In file included from /home/dmali/.cache/yay/lightly-qt6-git/src/Lightly/kdecoration/lightlydecoration.cpp:28:
 /home/dmali/.cache/yay/lightly-qt6-git/src/Lightly/kdecoration/config/lightlyconfigwidget.h:28:10: fatal error: config/ui_lightlyconfigurationui.h: No such file or directory
    28 |  #include "config/ui_lightlyconfigurationui.h"
       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 compilation aborted.
 make[2]: *** [kdecoration/CMakeFiles/lightlydecoration.dir/build.make:119: kdecoration/CMakeFiles/lightlydecoration.dir/lightlydecoration.cpp.o] Error 1
 make[1]: *** [CMakeFiles/Makefile2:927: kdecoration/CMakeFiles/lightlydecoration.dir/all] Error 2
 make: *** [Makefile:136: all] Error 2
 ==> ERROR: There was a failure in build().
     Interrupt...
  -> build error: lightly-qt6-git-exit status 4
  -> Failed to install the following packages.  Manual intervention is required:
 lightly-qt6-git - exit status 4

Kernel: 6.7.9-arch1-1 
DE: Plasma 6.0.1 
Terminal: konsole 

can it be used on windows10?

I'd like to use Lightly in qt program on windows10, is that possible? And what should I do to make it? Thanks a lot.

Unable to build the theme!

Here are my logs, I was at the 4th step: make.

[  1%] Built target lightlycommon5_autogen
Consolidate compiler generated dependencies of target lightlycommon5
[  5%] Built target lightlycommon5
[  6%] Automatic MOC for target lightlydecoration
[  6%] Built target lightlydecoration_autogen
Consolidate compiler generated dependencies of target lightlydecoration
[  7%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlydecoration.cpp.o
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isMaximized() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:192:27: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  192 |     { return client().data()->isMaximized() && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |              ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isMaximizedHorizontally() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:195:27: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  195 |     { return client().data()->isMaximizedHorizontally() && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |              ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isMaximizedVertically() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:198:27: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  198 |     { return client().data()->isMaximizedVertically() && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |              ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isLeftEdge() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:201:28: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  201 |     { return (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::LeftEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |               ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:201:74: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  201 | (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::LeftEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |                                                ~~~~~~~~~~~~~^~

In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isRightEdge() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:204:28: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  204 |     { return (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::RightEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |               ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:204:74: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  204 | (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::RightEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |                                                ~~~~~~~~~~~~~^~

In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isTopEdge() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:207:28: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  207 |     { return (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::TopEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |               ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:207:72: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  207 | n (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::TopEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |                                                ~~~~~~~~~~~~~^~

In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isBottomEdge() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:210:28: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  210 |     { return (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::BottomEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |               ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:210:72: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  210 | n (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::BottomEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |                                                ~~~~~~~~~~~~~^~

In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::hideTitleBar() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:213:66: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  213 |  return m_internalSettings->hideTitleBar() && !client().data()->isShaded(); }
      |                                                ~~~~~~~~~~~~~^~

In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘QColor Lightly::Decoration::titleBarColor() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:195:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  195 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘QColor Lightly::Decoration::outlineColor() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:211:30: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  211 |         auto c( client().data() );
      |                 ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘QColor Lightly::Decoration::fontColor() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:226:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  226 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘virtual void Lightly::Decoration::init()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:240:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  240 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::updateBlur()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:302:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  302 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:313:15: error: ‘class Lightly::Decoration’ has no member named ‘setBlurRegion’
  313 |         this->setBlurRegion(QRegion(m_windowPath->toFillPolygon().toPolygon()));
      |               ^~~~~~~~~~~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::calculateWindowAndTitleBarShapes(bool)’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:319:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  319 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::updateTitleBar()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:366:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  366 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::updateAnimationState()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:381:35: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  381 |             auto c = client().data();
      |                      ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::updateSizeGripVisibility()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:395:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  395 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::recalculateBorders()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:464:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  464 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘virtual void Lightly::Decoration::paint(QPainter*, const QRect&)’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:592:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  592 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::paintTitleBar(QPainter*, const QRect&)’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:635:37: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  635 |         const auto c = client().data();
      |                        ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘QPair<QRect, QFlags<Qt::AlignmentFlag> > Lightly::Decoration::captionRect() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:745:35: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  745 |             auto c = client().data();
      |                      ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::createSizeGrip()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:890:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  890 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
make[2]: *** [kdecoration/CMakeFiles/lightlydecoration.dir/build.make:129: kdecoration/CMakeFiles/lightlydecoration.dir/lightlydecoration.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:574: kdecoration/CMakeFiles/lightlydecoration.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Add support for plasma 6

I just finished updating to plasma 6 beta 1 and this style is not present anymore in the settings since it has to be ported to qt6.

Build issues on Plasma 6 - EndeavourOS

When attempting to build the package on Plasma six I receive this error message.

`In file included from /home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlybutton.h:25,
from /home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/moc_lightlybutton.cpp:10,
from /home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/mocs_compilation.cpp:6:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:112:14: error: conflicting return type specified for ‘virtual void Lightly::Decoration::init()’
112 | void init() override;
| ^~~~
In file included from /usr/include/KDecoration2/KDecoration2/Decoration:1,
from /home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:28:
/usr/include/KDecoration2/kdecoration2/decoration.h:201:18: note: overridden function is ‘virtual bool KDecoration2::Decoration::init()’
201 | virtual bool init() = 0;
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isMaximized() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:192:23: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
192 | { return client().data()->isMaximized() && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isMaximizedHorizontally() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:195:23: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
195 | { return client().data()->isMaximizedHorizontally() && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isMaximizedVertically() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:198:23: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
198 | { return client().data()->isMaximizedVertically() && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isLeftEdge() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:201:24: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
201 | { return (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::LeftEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:201:70: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
201 | n (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::LeftEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~

/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isRightEdge() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:204:24: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
204 | { return (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::RightEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:204:70: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
204 | n (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::RightEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~

/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isTopEdge() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:207:24: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
207 | { return (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::TopEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:207:68: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
207 | urn (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::TopEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~

/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isBottomEdge() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:210:24: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
210 | { return (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::BottomEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:210:68: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
210 | urn (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::BottomEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~

/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::hideTitleBar() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:213:62: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
213 | { return m_internalSettings->hideTitleBar() && !client().data()->isShaded(); }
| ^~~~

`

Maybe I am missing a package, or maybe I misunderstood the current state of plasma 6 compatibility?

Thanks in advance!

P.S I just updated my laptop now. So all the packages on my system should be quite new.

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.