Git Product home page Git Product logo

lightlyshaders's Introduction

default This is a fork of ShapeCorners KWin effect that additionally implements an outline around the window.

warning

  • This effect is not compatible with KDE Plasma 5.23 and onwards.

  • This effect may cause a heavy performance impact
  • This effect can be affected by this KWin bug: https://bugs.kde.org/show_bug.cgi?id=395725
  • Aurorae decoration themes are not compatible
  • The decoration border/shadow and the effect must have the same corner radius

Dependencies:

From: https://github.com/alex47/KDE-Rounded-Corners

Debian based (Ubuntu, Kubuntu, KDE Neon):

sudo apt install git cmake g++ gettext extra-cmake-modules qttools5-dev libqt5x11extras5-dev libkf5configwidgets-dev libkf5crash-dev libkf5globalaccel-dev libkf5kio-dev libkf5notifications-dev kinit-dev kwin-dev 

Fedora based

sudo dnf install git cmake gcc-c++ extra-cmake-modules qt5-qttools-devel qt5-qttools-static qt5-qtx11extras-devel kf5-kconfigwidgets-devel kf5-kcrash-devel kf5-kguiaddons-devel kf5-kglobalaccel-devel kf5-kio-devel kf5-ki18n-devel kf5-knotifications-devel kf5-kinit-devel kwin-devel qt5-qtbase-devel libepoxy-devel

Manual instalation

git clone https://github.com/Luwx/LightlyShaders

cd LightlyShaders; mkdir qt5build; cd qt5build; cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DQT5BUILD=ON && make && sudo make install && (kwin_x11 --replace &)

lightlyshaders's People

Contributors

a-parhom avatar luwx 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

lightlyshaders's Issues

Not working

When I try to install it on Manjaro, it gives me this error when pasting the code into the Konsole.
sudo: apt: command not found

How can I set shadow corner radius?

I've searched in the KDE settings, the closest thing I could find is this
shadow
But this doesn't give me any option to set a radius, I've tried Googling this as well with no luck, It would be nice if the read me showed where to look for this if possible

Cant install on arch

kwin_core: XCB error: 10 (BadAccess), sequence: 2064, resource id: 436, major code: 142 (Composite), minor code: 2 (RedirectSubwindows)
~/LightlyShaders/qt5build  qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2300, resource id: 52428812, major code: 15 (QueryTree), minor code: 0
~/LightlyShaders/qt5build  kwin_scripting: /home/yehudi/.local/share/kwin/scripts/sticky-window-snapping/contents/code/main.js:36: error: enabledCurrently is not defined
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2732, resource id: 52428812, major code: 20 (GetProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 6060, resource id: 37750797, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 6605, resource id: 81788940, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 9525, resource id: 23068921, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 9541, resource id: 37750798, major code: 18 (ChangeProperty), minor code: 0
kwin_core: XCB error: 152 (BadDamage), sequence: 11182, resource id: 44040850, major code: 143 (DAMAGE), minor code: 2 (Destroy)
kwin_core: XCB error: 3 (BadWindow), sequence: 11185, resource id: 67108907, major code: 129 (SHAPE), minor code: 8 (GetRectangles)

Incompatible with Plasma 5.22

"LightlyShaders" does not show up in System Settings > Workspace Behaviour > Desktop Effects without the filter "Exclude Unsupported Effects" disabled and even if enabled does not work.

failed

/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here
  125 |     QVector<QRect> rects() const;
      |                    ^~~~~
/home/android/Downloads/Lightly/build/LightlyShaders/lightlyshaders.cpp: At global scope:
/home/android/Downloads/Lightly/build/LightlyShaders/lightlyshaders.cpp:235:13: warning: ‘bool hasShadow(KWin::WindowQuadList&)’ defined but not used [-Wunused-function]
  235 | static bool hasShadow(KWin::WindowQuadList &qds)
      |             ^~~~~~~~~
make[2]: *** [CMakeFiles/kwin4_effect_lightlyshaders.dir/build.make:76: CMakeFiles/kwin4_effect_lightlyshaders.dir/lightlyshaders.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:669: CMakeFiles/kwin4_effect_lightlyshaders.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Suggestion: remove sliders in favor of input fields

Currently the only way to set the radius of corners is done through a slider which is not reporting back the value it's going to set.

IMHO it would be better to replace the slider with a generic input field allowing for pixel value digit inputs for a much better control and also to more easily cooperate with other themes that allow for such things to be declared in pixels instead of using a slider.

Wobbly windows issue

I've noticed that when resizing or moving windows with "wobbly windows" effect enabled, the effect stops working

Could NOT find KF5

I encountered this error while installing manually. How can the problem be solved? The desired distribution is also EndeavourOs.

[her@her Downloads]$ git clone https://github.com/Luwx/LightlyShaders
Cloning into 'LightlyShaders'...
remote: Enumerating objects: 44, done.
remote: Counting objects: 100% (44/44), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 44 (delta 15), reused 36 (delta 9), pack-reused 0
Receiving objects: 100% (44/44), 1.83 MiB | 491.00 KiB/s, done.
Resolving deltas: 100% (15/15), done.
[her@her Downloads]$ cd LightlyShaders; mkdir qt5build; cd qt5build; cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DQT5BUILD=ON && make && sudo make install && (kwin_x11 --replace &)
-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Setting build type to 'Debug' as none was specified.
-- 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
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (message):
  Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
  /usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
  CMakeLists.txt:33 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.87.0") 
-- Found KF5ConfigWidgets: /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.87.0") 
-- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.87.0") 
-- Found KF5Crash: /usr/lib64/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.87.0") 
-- Found KF5GlobalAccel: /usr/lib64/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.87.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.21") 
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.87.0") 
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.87.0") 
-- Found KF5Service: /usr/lib64/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.87.0") 
-- Could NOT find KF5Init (missing: KF5Init_DIR)
-- Could NOT find KF5Init: found neither KF5InitConfig.cmake nor kf5init-config.cmake 
-- Found KF5Notifications: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.87.0") 
-- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.87.0") 
-- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.87.0") 
-- Found KF5GuiAddons: /usr/lib64/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.87.0") 
CMake Error at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find KF5 (missing: Init) (found suitable version "5.87.0",
  minimum required is "5.9.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:93 (find_package_handle_standard_args)
  CMakeLists.txt:33 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/her/Downloads/LightlyShaders/qt5build/CMakeFiles/CMakeOutput.log".
See also "/home/her/Downloads/LightlyShaders/qt5build/CMakeFiles/CMakeError.log".
[her@her qt5build]$ 

qt.qpa.xcb: QXcbConnection: XCB error

What is the problem, how can I fix it?



her@debian:~/Downloads/Themes/LightlyShaders/qt5build$ Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations.
qt.svg: link #g1051 is undefined!
qt.svg: link #g1000 is undefined!
qt.svg: link #g1000 is undefined!
file:///usr/share/kwin/aurorae/MenuButton.qml:11: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
QPainter::begin: Paint device returned engine == 0, type: 3
file:///usr/share/kwin/aurorae/MenuButton.qml:11: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/aurorae/MenuButton.qml:11: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
QPainter::begin: Paint device returned engine == 0, type: 3
OpenGL vendor string:                   Intel Open Source Technology Center
OpenGL renderer string:                 Mesa DRI Intel(R) HD Graphics 4400 (HSW GT2)
OpenGL version string:                  4.5 (Core Profile) Mesa 20.3.5
OpenGL shading language version string: 4.50
Driver:                                 Intel
GPU class:                              Unknown
OpenGL version:                         4.5
GLSL version:                           4.50
Mesa version:                           20.3.5
X server version:                       1.20.11
Linux kernel version:                   5.10
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
qt.svg: link #g1000 is undefined!
qt.svg: link #g1000 is undefined!
qt.svg: link #g1051 is undefined!
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 19439, resource id: 125830160, major code: 73 (GetImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 19440, resource id: 125830160, major code: 73 (GetImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 19441, resource id: 125830160, major code: 73 (GetImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 19934, resource id: 125830181, major code: 73 (GetImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 19935, resource id: 125830181, major code: 73 (GetImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 19936, resource id: 125830181, major code: 73 (GetImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 19997, resource id: 125830185, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 19998, resource id: 125830185, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 19999, resource id: 125830185, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 20387, resource id: 125830199, major code: 73 (GetImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 20388, resource id: 125830199, major code: 73 (GetImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 20389, resource id: 125830199, major code: 73 (GetImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 21000, resource id: 125830221, major code: 73 (GetImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 21019, resource id: 125830223, major code: 73 (GetImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 21036, resource id: 125830225, major code: 73 (GetImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 21038, resource id: 125830225, major code: 73 (GetImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22805, resource id: 125830235, major code: 20 (GetProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22806, resource id: 125830235, major code: 15 (QueryTree), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 63503, resource id: 94371876, major code: 2 (ChangeWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3261, resource id: 94371885, major code: 2 (ChangeWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18883, resource id: 127926326, major code: 18 (ChangeProperty), minor code: 0
^C

Blur on round corners (Not a duplicate of issue #7)

I didn't want to open another issue as this already exists on #10 but since that was mistakingly closed by judging it as duplicate of #7, I had to reopen it but I'll explain why.

image
This here is LightlyShaders with Lightly Widget Style and Window Decoration. Corner radius is set to 8px, the max setting. LightlyShaders.conf was also manually edited to have the exact same roundness because the slider on the GUI does not show what is the roundness
image

The same happens with fully borderless and titlebarless windows but that are still affected by KWin and the window decoration
image

As you can see, this is the setup expected with your forks of Breeze and this KWin shader. It is not ClassikStyles without the round corners option toggled on as this is Lightly. However, the blur around the corner is still there. It's not caused by the Window Decoration and I pointed that out on #10. Another user noticed the bug on the forum Diolinux Plus and I noticed it is the same bug.

Now if this is caused by KWin and cannot be avoided, it's understandable but at least it could be added as known issue on the README.md

Failed to build on openSUSE Krypton

Followed the build instructions and it ended wit Error 2 on Make

[  7%] Generating lightlyshaders_config.json
About to parse service type file "/usr/share/kservicetypes5/kcmodule.desktop"
Found property definition "X-KDE-FactoryName" with type "QString"
Found property definition "X-KDE-ParentComponents" with type "QStringList"
Found property definition "X-KDE-CfgDlgHierarchy" with type "QString"
Found property definition "X-KDE-System-Settings-Parent-Category" with type "QString"
Found property definition "X-KDE-KInfoCenter-Category" with type "QString"
Found property definition "X-KDE-Weight" with type "int"
Found property definition "X-KDE-PluginKeyword" with type "QString"
Found property definition "X-KDE-OnlyShowOnQtPlatforms" with type "QStringList"
Found property definition "X-KDE-KCM-Args" with type "QStringList"
Found property definition "X-DocPath" with type "QString"
Generated  "/home/silas/Applications/LightlyShaders/qt5build/lightlyshaders_config.json"
[ 15%] Automatic MOC for target kwin4_lightlyshaders_config
[ 15%] Built target kwin4_lightlyshaders_config_autogen
[ 23%] Generating ui_lightlyshaders_config.h
[ 30%] Generating kwineffects_interface.cpp, kwineffects_interface.h
[ 38%] Generating kwineffects_interface.moc
[ 46%] Building CXX object CMakeFiles/kwin4_lightlyshaders_config.dir/kwin4_lightlyshaders_config_autogen/mocs_compilation.cpp.o
In file included from /home/silas/Applications/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/EWIEGA46WW/moc_lightlyshaders_config.cpp:10,
                 from /home/silas/Applications/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/mocs_compilation.cpp:2:
/home/silas/Applications/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/EWIEGA46WW/../../../lightlyshaders_config.h:13:10: warning: ‘virtual void LightlyShadersConfig::save()’ can be marked override [-Wsuggest-override]
   13 |     void save();
      |          ^~~~
/home/silas/Applications/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/EWIEGA46WW/../../../lightlyshaders_config.h:14:10: warning: ‘virtual void LightlyShadersConfig::load()’ can be marked override [-Wsuggest-override]
   14 |     void load();
      |          ^~~~
/home/silas/Applications/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/EWIEGA46WW/../../../lightlyshaders_config.h:15:10: warning: ‘virtual void LightlyShadersConfig::defaults()’ can be marked override [-Wsuggest-override]
   15 |     void defaults();
      |          ^~~~~~~~
[ 53%] Building CXX object CMakeFiles/kwin4_lightlyshaders_config.dir/lightlyshaders_config.cpp.o
In file included from /home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp:1:
/home/silas/Applications/LightlyShaders/lightlyshaders_config.h:13:10: warning: ‘virtual void LightlyShadersConfig::save()’ can be marked override [-Wsuggest-override]
   13 |     void save();
      |          ^~~~
/home/silas/Applications/LightlyShaders/lightlyshaders_config.h:14:10: warning: ‘virtual void LightlyShadersConfig::load()’ can be marked override [-Wsuggest-override]
   14 |     void load();
      |          ^~~~
/home/silas/Applications/LightlyShaders/lightlyshaders_config.h:15:10: warning: ‘virtual void LightlyShadersConfig::defaults()’ can be marked override [-Wsuggest-override]
   15 |     void defaults();
      |          ^~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp: In constructor ‘LightlyShadersConfig::LightlyShadersConfig(QWidget*, const QVariantList&)’:
/home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp:51:28: warning: ‘static KAboutData* KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Wdeprecated-declarations]
   51 |     : KCModule(KAboutData::pluginData(QStringLiteral("kwin4_effect_lightlyshaders")), parent, args)
      |                            ^~~~~~~~~~
In file included from /usr/include/KF5/KCoreAddons/KAboutData:1,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp:16:
/usr/include/KF5/KCoreAddons/kaboutdata.h:607:24: note: declared here
  607 |     static KAboutData *pluginData(const QString &componentName);
      |                        ^~~~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp:51:38: warning: ‘static KAboutData* KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Wdeprecated-declarations]
   51 |     : KCModule(KAboutData::pluginData(QStringLiteral("kwin4_effect_lightlyshaders")), parent, args)
      |                ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KCoreAddons/KAboutData:1,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp:16:
/usr/include/KF5/KCoreAddons/kaboutdata.h:607:24: note: declared here
  607 |     static KAboutData *pluginData(const QString &componentName);
      |                        ^~~~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp:52:26: warning: ‘KCModule::KCModule(const KAboutData*, QWidget*, const QVariantList&)’ is deprecated: Since 5.85. Use other constructor and setAboutData() [-Wdeprecated-declarations]
   52 |     , d(new Private(this))
      |                          ^
In file included from /home/silas/Applications/LightlyShaders/lightlyshaders_config.h:4,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp:1:
/usr/include/KF5/KConfigWidgets/kcmodule.h:112:14: note: declared here
  112 |     explicit KCModule(const KAboutData *aboutData, QWidget *parent = nullptr, const QVariantList &args = QVariantList());
      |              ^~~~~~~~
[ 61%] Building CXX object CMakeFiles/kwin4_lightlyshaders_config.dir/kwineffects_interface.cpp.o
[ 69%] Linking CXX shared module kwin4_lightlyshaders_config.so
[ 69%] Built target kwin4_lightlyshaders_config
[ 76%] Automatic MOC for target kwin4_effect_lightlyshaders
AutoMoc warning
---------------
"SRC:/lightlyshaders.cpp"
includes the moc file "lightlyshaders.moc", but does not contain a Q_OBJECT, Q_GADGET, Q_NAMESPACE, Q_NAMESPACE_EXPORT, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON or K_PLUGIN_CLASS_WITH_JSON macro.

[ 76%] Built target kwin4_effect_lightlyshaders_autogen
[ 84%] Building CXX object CMakeFiles/kwin4_effect_lightlyshaders.dir/kwin4_effect_lightlyshaders_autogen/mocs_compilation.cpp.o
In file included from /home/silas/Applications/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../dbus.h:5,
                 from /home/silas/Applications/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/moc_dbus.cpp:10,
                 from /home/silas/Applications/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/mocs_compilation.cpp:2:
/home/silas/Applications/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../lightlyshaders.h:43:10: warning: ‘virtual void LightlyShadersEffect::reconfigure(KWin::Effect::ReconfigureFlags)’ can be marked override [-Wsuggest-override]
   43 |     void reconfigure(ReconfigureFlags flags);
      |          ^~~~~~~~~~~
/home/silas/Applications/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../lightlyshaders.h:45:10: warning: ‘virtual void LightlyShadersEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’ can be marked override [-Wsuggest-override]
   45 |     void prePaintWindow(KWin::EffectWindow* w, KWin::WindowPrePaintData& data, std::chrono::milliseconds time);
      |          ^~~~~~~~~~~~~~
/home/silas/Applications/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../lightlyshaders.h:49:10: warning: ‘virtual void LightlyShadersEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)’ can be marked override [-Wsuggest-override]
   49 |     void paintWindow(KWin::EffectWindow* w, int mask, QRegion region, KWin::WindowPaintData& data);
      |          ^~~~~~~~~~~
/home/silas/Applications/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../lightlyshaders.h:50:17: warning: ‘virtual int LightlyShadersEffect::requestedEffectChainPosition() const’ can be marked override [-Wsuggest-override]
   50 |     virtual int requestedEffectChainPosition() const { return 99; }
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 92%] Building CXX object CMakeFiles/kwin4_effect_lightlyshaders.dir/lightlyshaders.cpp.o
In file included from /home/silas/Applications/LightlyShaders/dbus.h:5,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders.cpp:20:
/home/silas/Applications/LightlyShaders/lightlyshaders.h:43:10: warning: ‘virtual void LightlyShadersEffect::reconfigure(KWin::Effect::ReconfigureFlags)’ can be marked override [-Wsuggest-override]
   43 |     void reconfigure(ReconfigureFlags flags);
      |          ^~~~~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.h:45:10: warning: ‘virtual void LightlyShadersEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’ can be marked override [-Wsuggest-override]
   45 |     void prePaintWindow(KWin::EffectWindow* w, KWin::WindowPrePaintData& data, std::chrono::milliseconds time);
      |          ^~~~~~~~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.h:49:10: warning: ‘virtual void LightlyShadersEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)’ can be marked override [-Wsuggest-override]
   49 |     void paintWindow(KWin::EffectWindow* w, int mask, QRegion region, KWin::WindowPaintData& data);
      |          ^~~~~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.h:50:17: warning: ‘virtual int LightlyShadersEffect::requestedEffectChainPosition() const’ can be marked override [-Wsuggest-override]
   50 |     virtual int requestedEffectChainPosition() const { return 99; }
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp: In member function ‘virtual void LightlyShadersEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’:
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:210:21: error: ‘class KWin::WindowPrePaintData’ has no member named ‘quads’
  210 |             || data.quads.isTransformed())
      |                     ^~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:215:32: warning: ‘virtual QRect KWin::EffectWindow::geometry() const’ is deprecated [-Wdeprecated-declarations]
  215 |     const QRect geo(w->geometry());
      |                     ~~~~~~~~~~~^~
In file included from /home/silas/Applications/LightlyShaders/lightlyshaders.h:23,
                 from /home/silas/Applications/LightlyShaders/dbus.h:5,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/kwineffects.h:2248:35: note: declared here
 2248 |     virtual QRect KWIN_DEPRECATED geometry() const = 0;
      |                                   ^~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp: In function ‘bool hasShadow(KWin::WindowQuadList&)’:
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:238:23: error: ‘const class KWin::WindowQuad’ has no member named ‘type’
  238 |         if (qds.at(i).type() == KWin::WindowQuadShadow)
      |                       ^~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:238:39: error: ‘WindowQuadShadow’ is not a member of ‘KWin’; did you mean ‘WindowQuadList’?
  238 |         if (qds.at(i).type() == KWin::WindowQuadShadow)
      |                                       ^~~~~~~~~~~~~~~~
      |                                       WindowQuadList
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp: In member function ‘virtual void LightlyShadersEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)’:
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:251:21: error: ‘class KWin::WindowPaintData’ has no member named ‘quads’
  251 |             || data.quads.isTransformed()
      |                     ^~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:253:32: error: ‘class KWin::WindowPaintData’ has no member named ‘quads’
  253 |             || !hasShadow(data.quads))
      |                                ^~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:260:32: warning: ‘virtual QRect KWin::EffectWindow::geometry() const’ is deprecated [-Wdeprecated-declarations]
  260 |     const QRect geo(w->geometry());
      |                     ~~~~~~~~~~~^~
In file included from /home/silas/Applications/LightlyShaders/lightlyshaders.h:23,
                 from /home/silas/Applications/LightlyShaders/dbus.h:5,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/kwineffects.h:2248:35: note: declared here
 2248 |     virtual QRect KWIN_DEPRECATED geometry() const = 0;
      |                                   ^~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:269:41: error: ‘class KWin::WindowPaintData’ has no member named ‘quads’
  269 |     const KWin::WindowQuadList qds(data.quads);
      |                                         ^~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:271:10: error: ‘class KWin::WindowPaintData’ has no member named ‘quads’
  271 |     data.quads = qds.select(KWin::WindowQuadShadow);
      |          ^~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:271:22: error: ‘const class KWin::WindowQuadList’ has no member named ‘select’
  271 |     data.quads = qds.select(KWin::WindowQuadShadow);
      |                      ^~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:271:35: error: ‘WindowQuadShadow’ is not a member of ‘KWin’; did you mean ‘WindowQuadList’?
  271 |     data.quads = qds.select(KWin::WindowQuadShadow);
      |                                   ^~~~~~~~~~~~~~~~
      |                                   WindowQuadList
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:275:29: error: no matching function for call to ‘KWin::GLTexture::GLTexture()’
  275 |     KWin::GLTexture tex[NTex];
      |                             ^
In file included from /usr/include/kwinglutils.h:17,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders.cpp:28:
/usr/include/kwingltexture.h:148:5: note: candidate: ‘KWin::GLTexture::GLTexture(KWin::GLTexturePrivate&)’
  148 |     GLTexture(GLTexturePrivate& dd);
      |     ^~~~~~~~~
/usr/include/kwingltexture.h:148:5: note:   candidate expects 1 argument, 0 provided
/usr/include/kwingltexture.h:64:14: note: candidate: ‘KWin::GLTexture::GLTexture(GLuint, GLenum, const QSize&, int)’
   64 |     explicit GLTexture(GLuint textureId, GLenum internalFormat, const QSize &size, int levels = 1);
      |              ^~~~~~~~~
/usr/include/kwingltexture.h:64:14: note:   candidate expects 4 arguments, 0 provided
/usr/include/kwingltexture.h:50:14: note: candidate: ‘KWin::GLTexture::GLTexture(GLenum, const QSize&, int, bool)’
   50 |     explicit GLTexture(GLenum internalFormat, const QSize &size, int levels = 1, bool needsMutability = false);
      |              ^~~~~~~~~
/usr/include/kwingltexture.h:50:14: note:   candidate expects 4 arguments, 0 provided
/usr/include/kwingltexture.h:49:5: note: candidate: ‘KWin::GLTexture::GLTexture(GLenum, int, int, int, bool)’
   49 |     GLTexture(GLenum internalFormat, int width, int height, int levels = 1, bool needsMutability = false);
      |     ^~~~~~~~~
/usr/include/kwingltexture.h:49:5: note:   candidate expects 5 arguments, 0 provided
/usr/include/kwingltexture.h:48:14: note: candidate: ‘KWin::GLTexture::GLTexture(const QString&)’
   48 |     explicit GLTexture(const QString& fileName);
      |              ^~~~~~~~~
/usr/include/kwingltexture.h:48:14: note:   candidate expects 1 argument, 0 provided
/usr/include/kwingltexture.h:47:14: note: candidate: ‘KWin::GLTexture::GLTexture(const QPixmap&, GLenum)’
   47 |     explicit GLTexture(const QPixmap& pixmap, GLenum target = GL_TEXTURE_2D);
      |              ^~~~~~~~~
/usr/include/kwingltexture.h:47:14: note:   candidate expects 2 arguments, 0 provided
/usr/include/kwingltexture.h:46:14: note: candidate: ‘KWin::GLTexture::GLTexture(const QImage&, GLenum)’
   46 |     explicit GLTexture(const QImage& image, GLenum target = GL_TEXTURE_2D);
      |              ^~~~~~~~~
/usr/include/kwingltexture.h:46:14: note:   candidate expects 2 arguments, 0 provided
/usr/include/kwingltexture.h:45:5: note: candidate: ‘KWin::GLTexture::GLTexture(const KWin::GLTexture&)’
   45 |     GLTexture(const GLTexture& tex);
      |     ^~~~~~~~~
/usr/include/kwingltexture.h:45:5: note:   candidate expects 1 argument, 0 provided
/usr/include/kwingltexture.h:44:14: note: candidate: ‘KWin::GLTexture::GLTexture(GLenum)’
   44 |     explicit GLTexture(GLenum target);
      |              ^~~~~~~~~
/usr/include/kwingltexture.h:44:14: note:   candidate expects 1 argument, 0 provided
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:286:10: error: ‘class KWin::WindowPaintData’ has no member named ‘quads’
  286 |     data.quads = qds.filterOut(KWin::WindowQuadShadow);
      |          ^~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:286:22: error: ‘const class KWin::WindowQuadList’ has no member named ‘filterOut’
  286 |     data.quads = qds.filterOut(KWin::WindowQuadShadow);
      |                      ^~~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:286:38: error: ‘WindowQuadShadow’ is not a member of ‘KWin’; did you mean ‘WindowQuadList’?
  286 |     data.quads = qds.filterOut(KWin::WindowQuadShadow);
      |                                      ^~~~~~~~~~~~~~~~
      |                                      WindowQuadList
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:309:10: error: ‘class KWin::WindowPaintData’ has no member named ‘quads’
  309 |     data.quads = qds;
      |          ^~~~~
In file included from /usr/include/qt5/QtDBus/qtdbusglobal.h:43,
                 from /usr/include/qt5/QtDBus/qdbusabstractadaptor.h:43,
                 from /usr/include/qt5/QtDBus/QDBusAbstractAdaptor:1,
                 from /home/silas/Applications/LightlyShaders/dbus.h:4,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders.cpp:20:
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp: In member function ‘void LightlyShadersEffect::fillRegion(const QRegion&, const QColor&)’:
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:359:40: warning: ‘QVector<QRect> QRegion::rects() const’ is deprecated: Use begin()/end() instead [-Wdeprecated-declarations]
  359 |     foreach (const QRect & r, reg.rects())
      |                               ~~~~~~~~~^~
In file included from /usr/include/qt5/QtGui/qmatrix.h:45,
                 from /usr/include/qt5/QtGui/qtransform.h:43,
                 from /usr/include/qt5/QtGui/qimage.h:48,
                 from /usr/include/qt5/QtGui/QImage:1,
                 from /usr/include/kwinglobals.h:14,
                 from /usr/include/kwineffects.h:18,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders.h:23,
                 from /home/silas/Applications/LightlyShaders/dbus.h:5,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/qt5/QtGui/qregion.h:125:20: note: declared here
  125 |     QVector<QRect> rects() const;
      |                    ^~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp: At global scope:
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:235:13: warning: ‘bool hasShadow(KWin::WindowQuadList&)’ defined but not used [-Wunused-function]
  235 | static bool hasShadow(KWin::WindowQuadList &qds)
      |             ^~~~~~~~~
make[2]: *** [CMakeFiles/kwin4_effect_lightlyshaders.dir/build.make:90: CMakeFiles/kwin4_effect_lightlyshaders.dir/lightlyshaders.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/kwin4_effect_lightlyshaders.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

KDE Repositories coming from Unstable repos for testing. May indicate a possible incompatibility with future release?

Failed to compile on Plasma 5.21 Beta

The new Plasma 5.21 is just around the corner and a beta has been released some time ago. But even before that, I was already running the master commits through OpenSUSE Tumbleweed's KDE Unstable repos. As a beta, it is close to stable release and it came to my attention that LightlyShaders fail to compile with the most recent development packages from those repos

This is a copy of Konsole's output:

silas@lenovoSUSE ~/A/L/qt5build (master) [124]> 
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DQT5BUILD=ON
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Setting build type to 'Debug' as none was specified.
-- 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 KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.79.0") 
-- Found KF5ConfigWidgets: /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.79.0") 
-- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.79.0") 
-- Found KF5Crash: /usr/lib64/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.79.0") 
-- Found KF5GlobalAccel: /usr/lib64/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.79.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.21") 
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.79.0") 
-- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.79.0") 
-- Found KF5Service: /usr/lib64/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.79.0") 
-- Found KF5Init: /usr/lib64/cmake/KF5Init/KF5InitConfig.cmake (found version "5.79.0") 
-- Found KF5Notifications: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.79.0") 
-- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.79.0") 
-- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.79.0") 
-- Found KF5GuiAddons: /usr/lib64/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.79.0") 
-- Found KF5: success (found suitable version "5.79.0", minimum required is "5.9.0") found components: Config ConfigWidgets CoreAddons Crash GlobalAccel I18n KIO Service Init Notifications Service WidgetsAddons WindowSystem GuiAddons 
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") 
-- Found XCB_XCB: /usr/lib64/libxcb.so (found version "1.14") 
-- Found XCB_RENDER: /usr/lib64/libxcb-render.so (found version "1.14") 
-- Found XCB_SHAPE: /usr/lib64/libxcb-shape.so (found version "1.14") 
-- Found XCB_XFIXES: /usr/lib64/libxcb-xfixes.so (found version "1.14") 
-- Found XCB_SHM: /usr/lib64/libxcb-shm.so (found version "1.14") 
-- Found XCB_ATOM: /usr/lib64/libxcb-util.so (found version "0.4.0") 
-- Found XCB_AUX: /usr/lib64/libxcb-util.so (found version "0.4.0") 
-- Found XCB_COMPOSITE: /usr/lib64/libxcb-composite.so (found version "1.14") 
-- Found XCB_CURSOR: /usr/lib64/libxcb-cursor.so (found version "0.1.3") 
-- Found XCB_DAMAGE: /usr/lib64/libxcb-damage.so (found version "1.14") 
-- Found XCB_DPMS: /usr/lib64/libxcb-dpms.so (found version "1.14") 
-- Found XCB_DRI2: /usr/lib64/libxcb-dri2.so (found version "1.14") 
-- Found XCB_DRI3: /usr/lib64/libxcb-dri3.so (found version "1.14") 
-- Found XCB_EVENT: /usr/lib64/libxcb-util.so (found version "0.4.0") 
-- Found XCB_EWMH: /usr/lib64/libxcb-ewmh.so (found version "0.4.1") 
-- Found XCB_GLX: /usr/lib64/libxcb-glx.so (found version "1.14") 
-- Found XCB_ICCCM: /usr/lib64/libxcb-icccm.so (found version "0.4.1") 
-- Found XCB_IMAGE: /usr/lib64/libxcb-image.so (found version "0.4.0") 
-- Found XCB_KEYSYMS: /usr/lib64/libxcb-keysyms.so (found version "0.4.0") 
-- Found XCB_PRESENT: /usr/lib64/libxcb-present.so (found version "1.14") 
-- Found XCB_RANDR: /usr/lib64/libxcb-randr.so (found version "1.14") 
-- Found XCB_RECORD: /usr/lib64/libxcb-record.so (found version "1.14") 
-- Found XCB_RENDERUTIL: /usr/lib64/libxcb-render-util.so (found version "0.3.9") 
-- Found XCB_RES: /usr/lib64/libxcb-res.so (found version "1.14") 
-- Found XCB_SCREENSAVER: /usr/lib64/libxcb-screensaver.so (found version "1.14") 
-- Found XCB_SYNC: /usr/lib64/libxcb-sync.so (found version "1.14") 
-- Found XCB_UTIL: /usr/lib64/libxcb-util.so (found version "0.4.0") 
-- Could NOT find XCB_XEVIE (missing: XCB_XEVIE_LIBRARY) (found version "")
-- Found XCB_XF86DRI: /usr/lib64/libxcb-xf86dri.so (found version "1.14") 
-- Found XCB_XINERAMA: /usr/lib64/libxcb-xinerama.so (found version "1.14") 
-- Found XCB_XKB: /usr/lib64/libxcb-xkb.so (found version "1.14") 
-- Could NOT find XCB_XPRINT (missing: XCB_XPRINT_LIBRARY) (found version "")
-- Found XCB_XTEST: /usr/lib64/libxcb-xtest.so (found version "1.14") 
-- Found XCB_XV: /usr/lib64/libxcb-xv.so (found version "1.14") 
-- Found XCB_XVMC: /usr/lib64/libxcb-xvmc.so (found version "1.14") 
-- Found XCB: /usr/lib64/libxcb.so;/usr/lib64/libxcb-render.so;/usr/lib64/libxcb-shape.so;/usr/lib64/libxcb-xfixes.so;/usr/lib64/libxcb-shm.so;/usr/lib64/libxcb-util.so;/usr/lib64/libxcb-composite.so;/usr/lib64/libxcb-cursor.so;/usr/lib64/libxcb-damage.so;/usr/lib64/libxcb-dpms.so;/usr/lib64/libxcb-dri2.so;/usr/lib64/libxcb-dri3.so;/usr/lib64/libxcb-ewmh.so;/usr/lib64/libxcb-glx.so;/usr/lib64/libxcb-icccm.so;/usr/lib64/libxcb-image.so;/usr/lib64/libxcb-keysyms.so;/usr/lib64/libxcb-present.so;/usr/lib64/libxcb-randr.so;/usr/lib64/libxcb-record.so;/usr/lib64/libxcb-render-util.so;/usr/lib64/libxcb-res.so;/usr/lib64/libxcb-screensaver.so;/usr/lib64/libxcb-sync.so;/usr/lib64/libxcb-xf86dri.so;/usr/lib64/libxcb-xinerama.so;/usr/lib64/libxcb-xkb.so;/usr/lib64/libxcb-xtest.so;/usr/lib64/libxcb-xv.so;/usr/lib64/libxcb-xvmc.so (found version "1.14")  
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    QT5BUILD


-- Build files have been written to: /home/silas/Applications/LightlyShaders/qt5build
silas@lenovoSUSE ~/A/L/qt5build (master)> make
Scanning dependencies of target kwin4_lightlyshaders_config_autogen
[  7%] Generating lightlyshaders_config.json
About to parse service type file "/usr/share/kservicetypes5/kcmodule.desktop"
Found property definition "X-KDE-FactoryName" with type "QString"
Found property definition "X-KDE-ParentComponents" with type "QStringList"
Found property definition "X-KDE-CfgDlgHierarchy" with type "QString"
Found property definition "X-KDE-System-Settings-Parent-Category" with type "QString"
Found property definition "X-KDE-KInfoCenter-Category" with type "QString"
Found property definition "X-KDE-Weight" with type "int"
Found property definition "X-KDE-PluginKeyword" with type "QString"
Found property definition "X-KDE-OnlyShowOnQtPlatforms" with type "QStringList"
Found property definition "X-KDE-KCM-Args" with type "QStringList"
Generated  "/home/silas/Applications/LightlyShaders/qt5build/lightlyshaders_config.json"
[ 15%] Automatic MOC for target kwin4_lightlyshaders_config
[ 15%] Built target kwin4_lightlyshaders_config_autogen
[ 23%] Generating ui_lightlyshaders_config.h
[ 30%] Generating kwineffects_interface.cpp, kwineffects_interface.h
[ 38%] Generating kwineffects_interface.moc
Scanning dependencies of target kwin4_lightlyshaders_config
[ 46%] Building CXX object CMakeFiles/kwin4_lightlyshaders_config.dir/kwin4_lightlyshaders_config_autogen/mocs_compilation.cpp.o                                            
In file included from /home/silas/Applications/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/EWIEGA46WW/moc_lightlyshaders_config.cpp:10,
                 from /home/silas/Applications/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/mocs_compilation.cpp:2:
/home/silas/Applications/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/EWIEGA46WW/../../../lightlyshaders_config.h:13:10: warning: ‘virtual void LightlyShadersConfig::save()’ can be marked override [-Wsuggest-override]
   13 |     void save();
      |          ^~~~
/home/silas/Applications/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/EWIEGA46WW/../../../lightlyshaders_config.h:14:10: warning: ‘virtual void LightlyShadersConfig::load()’ can be marked override [-Wsuggest-override]
   14 |     void load();
      |          ^~~~
/home/silas/Applications/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/EWIEGA46WW/../../../lightlyshaders_config.h:15:10: warning: ‘virtual void LightlyShadersConfig::defaults()’ can be marked override [-Wsuggest-override]
   15 |     void defaults();
      |          ^~~~~~~~
[ 53%] Building CXX object CMakeFiles/kwin4_lightlyshaders_config.dir/lightlyshaders_config.cpp.o                                                                           
In file included from /home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp:1:
/home/silas/Applications/LightlyShaders/lightlyshaders_config.h:13:10: warning: ‘virtual void LightlyShadersConfig::save()’ can be marked override [-Wsuggest-override]
   13 |     void save();
      |          ^~~~
/home/silas/Applications/LightlyShaders/lightlyshaders_config.h:14:10: warning: ‘virtual void LightlyShadersConfig::load()’ can be marked override [-Wsuggest-override]
   14 |     void load();
      |          ^~~~
/home/silas/Applications/LightlyShaders/lightlyshaders_config.h:15:10: warning: ‘virtual void LightlyShadersConfig::defaults()’ can be marked override [-Wsuggest-override]
   15 |     void defaults();
      |          ^~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp: In constructor ‘LightlyShadersConfig::LightlyShadersConfig(QWidget*, const QVariantList&)’:
/home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp:51:28: warning: ‘static KAboutData* KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Wdeprecated-declarations]
   51 |     : KCModule(KAboutData::pluginData(QStringLiteral("kwin4_effect_lightlyshaders")), parent, args)
      |                            ^~~~~~~~~~
In file included from /usr/include/KF5/KCoreAddons/KAboutData:1,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp:16:
/usr/include/KF5/KCoreAddons/kaboutdata.h:467:24: note: declared here
  467 |     static KAboutData *pluginData(const QString &componentName);
      |                        ^~~~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp:51:84: warning: ‘static KAboutData* KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Wdeprecated-declarations]
   51 | boutData::pluginData(QStringLiteral("kwin4_effect_lightlyshaders")), parent, args)
      |                                                                   ^

In file included from /usr/include/KF5/KCoreAddons/KAboutData:1,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders_config.cpp:16:
/usr/include/KF5/KCoreAddons/kaboutdata.h:467:24: note: declared here
  467 |     static KAboutData *pluginData(const QString &componentName);
      |                        ^~~~~~~~~~
[ 61%] Building CXX object CMakeFiles/kwin4_lightlyshaders_config.dir/kwineffects_interface.cpp.o                                                                           
[ 69%] Linking CXX shared module kwin4_lightlyshaders_config.so
[ 69%] Built target kwin4_lightlyshaders_config
Scanning dependencies of target kwin4_effect_lightlyshaders_autogen
[ 76%] Automatic MOC for target kwin4_effect_lightlyshaders
AutoMoc warning
---------------
"SRC:/lightlyshaders.cpp"
includes the moc file "lightlyshaders.moc", but does not contain a Q_OBJECT, Q_GADGET, Q_NAMESPACE, Q_NAMESPACE_EXPORT, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_CLASS_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON or K_PLUGIN_CLASS_WITH_JSON macro.

[ 76%] Built target kwin4_effect_lightlyshaders_autogen
Scanning dependencies of target kwin4_effect_lightlyshaders
[ 84%] Building CXX object CMakeFiles/kwin4_effect_lightlyshaders.dir/kwin4_effect_lightlyshaders_autogen/mocs_compilation.cpp.o                                            
In file included from /home/silas/Applications/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../dbus.h:5,
                 from /home/silas/Applications/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/moc_dbus.cpp:10,
                 from /home/silas/Applications/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/mocs_compilation.cpp:2:
/home/silas/Applications/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../lightlyshaders.h:43:10: warning: ‘virtual void LightlyShadersEffect::reconfigure(KWin::Effect::ReconfigureFlags)’ can be marked override [-Wsuggest-override]
   43 |     void reconfigure(ReconfigureFlags flags);
      |          ^~~~~~~~~~~
/home/silas/Applications/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../lightlyshaders.h:45:10: warning: ‘virtual void LightlyShadersEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)’ can be marked override [-Wsuggest-override]
   45 |     void paintWindow(KWin::EffectWindow* w, int mask, QRegion region, KWin::WindowPaintData& data);
      |          ^~~~~~~~~~~
/home/silas/Applications/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../lightlyshaders.h:46:17: warning: ‘virtual int LightlyShadersEffect::requestedEffectChainPosition() const’ can be marked override [-Wsuggest-override]
   46 |     virtual int requestedEffectChainPosition() const { return 99; }
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 92%] Building CXX object CMakeFiles/kwin4_effect_lightlyshaders.dir/lightlyshaders.cpp.o                                                                                  
In file included from /home/silas/Applications/LightlyShaders/dbus.h:5,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders.cpp:20:
/home/silas/Applications/LightlyShaders/lightlyshaders.h:43:10: warning: ‘virtual void LightlyShadersEffect::reconfigure(KWin::Effect::ReconfigureFlags)’ can be marked override [-Wsuggest-override]
   43 |     void reconfigure(ReconfigureFlags flags);
      |          ^~~~~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.h:45:10: warning: ‘virtual void LightlyShadersEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)’ can be marked override [-Wsuggest-override]
   45 |     void paintWindow(KWin::EffectWindow* w, int mask, QRegion region, KWin::WindowPaintData& data);
      |          ^~~~~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.h:46:17: warning: ‘virtual int LightlyShadersEffect::requestedEffectChainPosition() const’ can be marked override [-Wsuggest-override]
   46 |     virtual int requestedEffectChainPosition() const { return 99; }
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp: In member function ‘void LightlyShadersEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, int)’:
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:208:48: error: cannot convert ‘int’ to ‘std::chrono::milliseconds’ {aka ‘std::chrono::duration<long int, std::ratio<1, 1000> >’}
  208 |         KWin::effects->prePaintWindow(w, data, time);
      |                                                ^~~~
      |                                                |
      |                                                int
In file included from /home/silas/Applications/LightlyShaders/lightlyshaders.h:23,
                 from /home/silas/Applications/LightlyShaders/dbus.h:5,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/kwineffects.h:838:102: note:   initializing argument 3 of ‘virtual void KWin::EffectsHandler::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’
  838 | ectWindow* w, WindowPrePaintData& data, std::chrono::milliseconds presentTime) = 0;
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:228:44: error: cannot convert ‘int’ to ‘std::chrono::milliseconds’ {aka ‘std::chrono::duration<long int, std::ratio<1, 1000> >’}
  228 |     KWin::effects->prePaintWindow(w, data, time);
      |                                            ^~~~
      |                                            |
      |                                            int
In file included from /home/silas/Applications/LightlyShaders/lightlyshaders.h:23,
                 from /home/silas/Applications/LightlyShaders/dbus.h:5,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/kwineffects.h:838:102: note:   initializing argument 3 of ‘virtual void KWin::EffectsHandler::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’
  838 | ectWindow* w, WindowPrePaintData& data, std::chrono::milliseconds presentTime) = 0;
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

In file included from /usr/include/qt5/QtDBus/qtdbusglobal.h:43,
                 from /usr/include/qt5/QtDBus/qdbusabstractadaptor.h:43,
                 from /usr/include/qt5/QtDBus/QDBusAbstractAdaptor:1,
                 from /home/silas/Applications/LightlyShaders/dbus.h:4,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders.cpp:20:
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp: In member function ‘void LightlyShadersEffect::fillRegion(const QRegion&, const QColor&)’:
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:355:41: warning: ‘QVector<QRect> QRegion::rects() const’ is deprecated: Use begin()/end() instead [-Wdeprecated-declarations]
  355 |     foreach (const QRect & r, reg.rects())
      |                                         ^
In file included from /usr/include/qt5/QtGui/qmatrix.h:45,
                 from /usr/include/qt5/QtGui/qtransform.h:43,
                 from /usr/include/qt5/QtGui/qimage.h:48,
                 from /usr/include/qt5/QtGui/QImage:1,
                 from /usr/include/kwinglobals.h:14,
                 from /usr/include/kwineffects.h:18,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders.h:23,
                 from /home/silas/Applications/LightlyShaders/dbus.h:5,
                 from /home/silas/Applications/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/qt5/QtGui/qregion.h:125:20: note: declared here
  125 |     QVector<QRect> rects() const;
      |                    ^~~~~
make[2]: *** [CMakeFiles/kwin4_effect_lightlyshaders.dir/build.make:95: CMakeFiles/kwin4_effect_lightlyshaders.dir/lightlyshaders.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:128: CMakeFiles/kwin4_effect_lightlyshaders.dir/all] Error 2
make: *** [Makefile:160: all] Error 2

plasma 5.23

After my system is updated to plasma 5.23 (neon user edition) I can't find the lightly shaders item in the systemsettings/behaviour of desktop/appearance.
It also doesn't work no more...
Just to let you know.
Lighly Shaders is beautiful.

weird issue with wayland and multiple monitors

Hi,

Thanks for the effect and lightly, it does look awesome.

In my system, I have 2 monitors and using wayland.
The monitor on the left, it displays and works beautifully. But when I move the window to the monitor on the right, it starts showing the issue like in #10. Again, the weird is that the left monitor works, and the right one doesn't!

Thanks !

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.