Giter Club home page Giter Club logo

lightlyshaders's Introduction

Support Ukraine:

LightlyShaders v2.2

Round window corners and outline effect for KWin.

This is a fork of Luwx's LightlyShaders, which in turn is a fork of ShapeCorners.

It deals with infamous "korner bug" and works correctly with stock Plasma effects (except WindowHeap-based effects, which is a bug in KWin).

default

Changelog:

  • Includes a fork of KWin Blur effect to fix the "korner bug" on X11 and Wayland (should be enabled manually instead of the default Blur effect)
  • The settings for outline width and color were added
  • Works with any window decorations
    • Shadow offset parameter can solve issues with window decorations outlines
  • Window shaping does not use additional textures and is done entirely in shader, which potentially improves performance

Plasma 6:

On Plasma 6 Beta and RC builds you can try experimental branch plasma6. Eventually it will become the main branch.

Notes:

  • After some updates of Plasma this plugin may need to be recompiled in order to work with changes introduced to KWin.
  • This version includes a patched KWin Blur effect, that shapes blur region using the lshelper library that also comes bundled with this plugin. To build it in Plasma 5.27.10, some KWin headers were included and an installer script introduced, which makes a symlink to libkwin.so.5. This is needed, because KWin development packages for Plasma 5.27 does not include that (which is not the case in Plasma 6).
  • You will need to install qt5, kf5, kwin and xcb development packages. Instructions below come mostly from previous version and most likely do not include each required package. Unfortunately, I'm not able to figure out the dependency packages for each linux distro, so pull requests are welcome here.

Dependencies:

Plasma >= 5.27.10.

Debian based (Ubuntu, Kubuntu, KDE Neon):

sudo apt install git cmake g++ gettext extra-cmake-modules qttools5-dev libqt5x11extras5-dev libkdecorations2-dev libkf5*-dev libxcb*-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 kdecoration-devel kf5-kiconthemes-devel kf5-kpackage-devel xcb-imdkit-devel xcb-proto xcb-util-cursor-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-renderutil-devel xcb-util-wm-devel xcb-util-xrm-devel xcb-imdkit xcb-util-xrm

Arch based

sudo pacman -S git make cmake gcc gettext extra-cmake-modules qt5-tools qt5-x11extras kcrash kglobalaccel kde-dev-utils kio knotifications kinit kwin

OpenSUSE based

sudo zypper install git cmake gcc-c++ extra-cmake-modules libqt5-qttools-devel libqt5-qtx11extras-devel kconfigwidgets-devel kcrash-devel kguiaddons-devel kglobalaccel-devel kio-devel ki18n-devel knotifications-devel kinit-devel kwin5-devel libQt5Gui-devel libQt5OpenGL-devel libepoxy-devel

Installation

Via script

git clone https://github.com/a-parhom/LightlyShaders

cd LightlyShaders;

chmod +x install.sh
sudo ./install.sh

Manually

If the script doesn't work for you, you can find libkwin.so.5 file manually and make a symlink named libkwin.so to it in the same directory (or in the directory, where ld looks for libraries to link with). After that you can build and install like in previous versions:

mkdir build; cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
make -j$(nproc)
sudo make install

Uninstall

chmod +x uninstall.sh
sudo ./uninstall.sh

lightlyshaders's People

Contributors

a-parhom avatar diman119 avatar luwx avatar mousezhangzh avatar techognito avatar vojtisektomas92 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

lightlyshaders's Issues

Does not work in plasma 5.24.1

Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-30-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.4 ГиБ of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

I even can not see in settings.

Compile error on manjaro unstable

❯ 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
CMake Error at CMakeLists.txt:10 (find_package):
  Could not find a package configuration file provided by "ECM" with any of
  the following names:

    ECMConfig.cmake
    ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/hibanaw/LightlyShaders/qt5build/CMakeFiles/CMakeOutput.log".

CMakeOutput.log

Maximized windows eventually become rounded again

As the title describes, for me, as I toggle through windows, maximized windows will become rounded again despite "Disable for Maximized windows" option is enabled. While initially the window will no longer be rounded, it will become rounded again over time, usually after tabbing through windows/changing the stack of windows.

Swap corner radius slider for a number box

Lightly and ClassikStyles use a box to allow user to see the px value for the radius. For LightlyShaders, the only way to see the exact value is through the config file. Is it possible for the LightlyShaders configuration dialog to do the same as Lightly configuration dialog?
Spectacle_20211122_150340
Spectacle_20211122_150359

Needs optimization for stacked maximized windows

Summary

While LightlyShaders is being used, it causes desktop widgets to blur as they slide out if there is a window in the same corner of the desktop. This only occurs if the widget is located in the same region as the application window. In addition, the widgets don't move smoothly if an application is maximized.

Steps to reproduce

  1. Turn on LightlyShaders.
  2. Add a panel, and then add a widget (i.e. System Tray) to it.
  3. Open a window and place it in the same corner as the widget.
  4. Click on the widget to open it.
  5. See a momentary blur/not smooth movement as the widget opens.

Current behaviour (bug)

Desktop widgets do not slide out smoothly/show a momentary blur when LightlyShaders is enabled if an application window is located in the the same corner of the desktop as the region to which the widget belongs. (For example, if the calendar widget is in the top right corner, and an application is placed in that corner, the animation to open the calendar shows a momentary blur.)

Expected behaviour (correct)

The widgets would slide out smoothly and without a blur flicker regardless of whether there is an application window located in the same spot.

Relevant logs and/or media (optional)

LightlyShaders.Widget.Issue.mp4

Software/Os Versions

Operating System: Manjaro Linux
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.5-1-MANJARO (64-bit)
Graphics Platform: X11

Other comment (optional)

While the blur flicker seems to only happen when an application is in the same corner as the widget, the "not smooth movement" problem seems to occur even when a window is maximized. In addition, it seems to get worse as more windows are opened.

Disable rounding effect when window is tiled

Currently corners are still rounded when a window is tiled on either side and/or quarter of screen. This is especially distracting when two windows are tiled side by side as it introduces this gap:

image

Additionally, it adds the following effect in the active window:

image

Effect gone after reboot

LightlyShaders works great - but after a reboot the effect is gone and the setting is absent in Desktop Effects.
Deleting the files and re-installing works but how to make it persistent across reboots?
Thanks!

Operating System: Kubuntu 21.10
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-28-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-7820HQ CPU @ 2.90GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630

Failed to build

Tried to build after last update on KDE Unstable Repos for Tumbleweed. Got this error

[  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/build/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/build/kwin4_lightlyshaders_config_autogen/EWIEGA46WW/moc_lightlyshaders_config.cpp:10,
                 from /home/silas/Applications/LightlyShaders/build/kwin4_lightlyshaders_config_autogen/mocs_compilation.cpp:2:
/home/silas/Applications/LightlyShaders/build/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/build/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/build/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:55:28: warning: ‘static KAboutData* KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Wdeprecated-declarations]
   55 |     : 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:55:38: warning: ‘static KAboutData* KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Wdeprecated-declarations]
   55 |     : 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:56:26: warning: ‘KCModule::KCModule(const KAboutData*, QWidget*, const QVariantList&)’ is deprecated: Since 5.85. Use other constructor and setAboutData() [-Wdeprecated-declarations]
   56 |     , 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 or K_PLUGIN_CLASS_WITH_JSON macro.


AutoMoc subprocess error
------------------------
The moc process failed to compile
  "SRC:/lightlyshaders.cpp"
into
  "SRC:/build/kwin4_effect_lightlyshaders_autogen/include/lightlyshaders.moc"
included by
  "SRC:/lightlyshaders.cpp"

Command
-------
/usr/lib64/qt5/bin/moc -DKCOREADDONS_LIB -DKGUIADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkwin4_effect_lightlyshaders_EXPORTS -I/home/silas/Applications/LightlyShaders/build -I/home/silas/Applications/LightlyShaders -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtDBus -I/usr/include/KF5/KConfigCore -I/usr/include/KF5 -I/usr/include/KF5/KCoreAddons -I/usr/include/KF5/KConfigWidgets -I/usr/include/KF5/KCodecs -I/usr/include/KF5/KWidgetsAddons -I/usr/include/KF5/KConfigGui -I/usr/include/KF5/KAuth -I/usr/include/KF5/KGuiAddons -I/usr/include/KF5/KWindowSystem -I/usr/include -I/usr/include/c++/11 -I/usr/include/c++/11/x86_64-suse-linux -I/usr/include/c++/11/backward -I/usr/lib64/gcc/x86_64-suse-linux/11/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-suse-linux/11/include-fixed -I/usr/x86_64-suse-linux/include --include /home/silas/Applications/LightlyShaders/build/kwin4_effect_lightlyshaders_autogen/moc_predefs.h --output-dep-file -o /home/silas/Applications/LightlyShaders/build/kwin4_effect_lightlyshaders_autogen/include/lightlyshaders.moc /home/silas/Applications/LightlyShaders/lightlyshaders.cpp

Output
------
/home/silas/Applications/LightlyShaders/lightlyshaders.cpp:34: Parse error at "FILE"

make[2]: *** [CMakeFiles/kwin4_effect_lightlyshaders_autogen.dir/build.make:71: CMakeFiles/kwin4_effect_lightlyshaders_autogen] Error 1
make[1]: *** [CMakeFiles/Makefile2:219: CMakeFiles/kwin4_effect_lightlyshaders_autogen.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Seeing multiple "-" on borders where windows intersect.

I see this issue on X11 and Wayland.

See screenshot of what I mean. I hope the screenshots gets across what I am trying to say.

Those lines you see are at places where windows overlap. Those "-" also tend to flicker when the window updates its content.

For example, System Monitor has it blinking all the time since it refreshes it's own window a lot. With Firefox the blinking only happens when I scroll on a website. If I close or minimize the windows behind it then those "-" disappear.

It's a minor thing, but thought I'd mention it.

IMG_0338
IMG_0337

Corners are not rounded if they are covered by a transparent window

Flameshot_20220115_181311
Flameshot_20220115_181301

I noticed this when I saw how Firefox didn't get its bottom corners rounded because of how Latte dock's render area was covering the corners but when I opened Peek to record it, I noticed it happens with any window, even the ones that are transparent. Probably there is no easy fix for that without undoing the performance improvements.

Effect is applied to JetBrains application context menus

With the latest master this happens in Goland context menus:
image
I haven't really tested this with the other JetBrains IDE's but I assume it's the same there. As far as I know these applications are the only situations where this happens, presumably because it uses a different method to display context menus than most other apps. I just noticed this after updating to the latest master branch yesterday. Previously I had been using the performance_optimization branch for a while because it had been working perfectly, but it was uninstalled for some reason after updating my system.

Also alongside this I have an issue with the effect not applying to random windows, but the issue seems more random than it previously was when I had a similar issue. I'm suspecting it has something to do with auto-tiling of windows (I use Bismuth tiling script) but I honestly have no idea.

Use it without shadows.

Hello
Is it possible to use it only with outline around window, without shadows?
Judging by the writing, this would greatly save resources.

Also, the frame for some reason is returned for an inactive open window, I know that this bug has existed for a long time.

Blacklist Plank dock

Thanks for your work @a-parhom !
Now coming to the issue, after reading the code a little bit i found the part where you have blacklisted certain applications like albert ulauncher etc. i added a few of my own application in that list namely synapse app launcher, yakuake, guake and plank dock and then recompiled the code. It has blacklisted synapse app launcher just fine after re-compiling but plank dock seems to not have been blacklisted for some reason. it would be a great help if you could tell me how to blacklist plank dock.

I have added screenshot of the lines of code i added based on other blacklisted apps.

image

Titlebar button animations become janky while the effect is activated

Expected behaviour (LightlyShaders de-activated on Desktop Effects):
https://user-images.githubusercontent.com/6155245/140564350-5632db4f-eb23-45ea-83e5-8e8ae5ff25a8.mp4

Actual behaviour:
https://user-images.githubusercontent.com/6155245/140564362-142b74a7-1098-4f1b-a3db-04090bc8cf79.mp4

Windows out of focus won't show the hover effect while active ones do it with a lot of jankyness. I've uploaded the 2 videos at 60fps so it's more noticeable.

I know this fork is a hack to try to circumvent The Glitch but I wanted to let you know.

Also, as a bonus, the hack is easily noticeable on windows like Peek :)
image

Anyhow, thanks for the effort on trying to solve this!

deepin

-- Could NOT find XCB_RENDER (missing: XCB_RENDER_LIBRARY XCB_RENDER_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_SHAPE (missing: XCB_SHAPE_LIBRARY XCB_SHAPE_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XFIXES (missing: XCB_XFIXES_LIBRARY XCB_XFIXES_INCLUDE_DIR XCB_RENDER_FOUND XCB_SHAPE_FOUND) (found version "")
-- Could NOT find XCB_SHM (missing: XCB_SHM_LIBRARY XCB_SHM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_ATOM (missing: XCB_ATOM_LIBRARY XCB_ATOM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_AUX (missing: XCB_AUX_LIBRARY XCB_AUX_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_COMPOSITE (missing: XCB_COMPOSITE_LIBRARY XCB_COMPOSITE_INCLUDE_DIR XCB_XFIXES_FOUND) (found version "")
-- Could NOT find XCB_CURSOR (missing: XCB_CURSOR_LIBRARY XCB_CURSOR_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DAMAGE (missing: XCB_DAMAGE_LIBRARY XCB_DAMAGE_INCLUDE_DIR XCB_XFIXES_FOUND) (found version "")
-- Could NOT find XCB_DPMS (missing: XCB_DPMS_LIBRARY XCB_DPMS_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DRI2 (missing: XCB_DRI2_LIBRARY XCB_DRI2_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DRI3 (missing: XCB_DRI3_LIBRARY XCB_DRI3_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_EVENT (missing: XCB_EVENT_LIBRARY XCB_EVENT_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_EWMH (missing: XCB_EWMH_LIBRARY XCB_EWMH_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_GLX (missing: XCB_GLX_LIBRARY XCB_GLX_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_ICCCM (missing: XCB_ICCCM_LIBRARY XCB_ICCCM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_IMAGE (missing: XCB_IMAGE_LIBRARY XCB_IMAGE_INCLUDE_DIR XCB_SHM_FOUND) (found version "")
-- Could NOT find XCB_KEYSYMS (missing: XCB_KEYSYMS_LIBRARY XCB_KEYSYMS_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_PRESENT (missing: XCB_PRESENT_LIBRARY XCB_PRESENT_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RANDR (missing: XCB_RANDR_LIBRARY XCB_RANDR_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RECORD (missing: XCB_RECORD_LIBRARY XCB_RECORD_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RENDERUTIL (missing: XCB_RENDERUTIL_LIBRARY XCB_RENDERUTIL_INCLUDE_DIR XCB_RENDER_FOUND) (found version "")
-- Could NOT find XCB_RES (missing: XCB_RES_LIBRARY XCB_RES_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_SCREENSAVER (missing: XCB_SCREENSAVER_LIBRARY XCB_SCREENSAVER_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_SYNC (missing: XCB_SYNC_LIBRARY XCB_SYNC_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_UTIL (missing: XCB_UTIL_LIBRARY XCB_UTIL_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XEVIE (missing: XCB_XEVIE_LIBRARY XCB_XEVIE_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XF86DRI (missing: XCB_XF86DRI_LIBRARY XCB_XF86DRI_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XINERAMA (missing: XCB_XINERAMA_LIBRARY XCB_XINERAMA_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XKB (missing: XCB_XKB_LIBRARY XCB_XKB_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XPRINT (missing: XCB_XPRINT_LIBRARY XCB_XPRINT_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XTEST (missing: XCB_XTEST_LIBRARY XCB_XTEST_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XV (missing: XCB_XV_LIBRARY XCB_XV_INCLUDE_DIR XCB_SHM_FOUND) (found version "")
-- Could NOT find XCB_XVMC (missing: XCB_XVMC_LIBRARY XCB_XVMC_INCLUDE_DIR XCB_XV_FOUND) (found version "")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tiger/Desktop/LightlyShaders/qt5build
[ 7%] Automatic MOC for target kwin4_lightlyshaders_config
[ 15%] Built target kwin4_lightlyshaders_config_autogen
[ 69%] Built target kwin4_lightlyshaders_config
[ 76%] Automatic MOC for target kwin4_effect_lightlyshaders
AutoMoc warning

"/home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp"
The file 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 or K_PLUGIN_CLASS_WITH_JSON macro.

[ 76%] Built target kwin4_effect_lightlyshaders_autogen
[ 84%] Building CXX object CMakeFiles/kwin4_effect_lightlyshaders.dir/lightlyshaders.cpp.o
In file included from /home/tiger/Desktop/LightlyShaders/dbus.h:5,
from /home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:20:
/home/tiger/Desktop/LightlyShaders/lightlyshaders.h:42:10: warning: by ‘void KWin::LightlyShadersEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’ [-Woverloaded-virtual]
void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, std::chrono::milliseconds time);
^~~~~~~~~~~~~~
/home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp: In member function ‘void KWin::LightlyShadersEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’:
/home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:323:46: error: no matching function for call to ‘KWin::EffectsHandler::prePaintWindow(KWin::EffectWindow*&, KWin::WindowPrePaintData&, std::chrono::milliseconds&)’
effects->prePaintWindow(w, data, time);
^
In file included from /home/tiger/Desktop/LightlyShaders/lightlyshaders.h:23,
from /home/tiger/Desktop/LightlyShaders/dbus.h:5,
from /home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/kwineffects.h:837:18: note: candidate: ‘virtual void KWin::EffectsHandler::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, int)’
virtual void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time) = 0;
^~~~~~~~~~~~~~
/usr/include/kwineffects.h:837:18: note: no known conversion for argument 3 from ‘std::chrono::milliseconds’ {aka ‘std::chrono::duration<long int, std::ratio<1, 1000> >’} to ‘int’
/home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:364:42: error: no matching function for call to ‘KWin::EffectsHandler::prePaintWindow(KWin::EffectWindow*&, KWin::WindowPrePaintData&, std::chrono::milliseconds&)’
effects->prePaintWindow(w, data, time);
^
In file included from /home/tiger/Desktop/LightlyShaders/lightlyshaders.h:23,
from /home/tiger/Desktop/LightlyShaders/dbus.h:5,
from /home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/kwineffects.h:837:18: note: candidate: ‘virtual void KWin::EffectsHandler::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, int)’
virtual void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time) = 0;
^~~~~~~~~~~~~~
/usr/include/kwineffects.h:837:18: note: no known conversion for argument 3 from ‘std::chrono::milliseconds’ {aka ‘std::chrono::duration<long int, std::ratio<1, 1000> >’} to ‘int’
/home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp: In member function ‘virtual void KWin::LightlyShadersEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)’:
/home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:391:24: error: ‘class KWin::EffectWindow’ has no member named ‘frameGeometry’; did you mean ‘iconGeometry’?
const QRect geo(w->frameGeometry());
^~~~~~~~~~~~~
iconGeometry
In file included from /usr/include/x86_64-linux-gnu/qt5/QtDBus/qtdbusglobal.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtDBus/qdbusabstractadaptor.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtDBus/QDBusAbstractAdaptor:1,
from /home/tiger/Desktop/LightlyShaders/dbus.h:4,
from /home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:20:
/home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp: In member function ‘void KWin::LightlyShadersEffect::fillRegion(const QRegion&, const QColor&)’:
/home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:537:41: warning: ‘QVector QRegion::rects() const’ is deprecated: Use begin()/end() instead [-Wdeprecated-declarations]
foreach (const QRect & r, reg.rects())
^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:45,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1,
from /usr/include/kwinglobals.h:25,
from /usr/include/kwineffects.h:29,
from /home/tiger/Desktop/LightlyShaders/lightlyshaders.h:23,
from /home/tiger/Desktop/LightlyShaders/dbus.h:5,
from /home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:125:20: note: declared here
QVector rects() const;
^~~~~
/home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp: In member function ‘QListKWin::GLTexture KWin::LightlyShadersEffect::getTexRegions(KWin::EffectWindow*, const QRect*)’:
/home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:558:61: error: invalid user-defined conversion from ‘int’ to ‘const QString&’ [-fpermissive]
sample_tex.append(GLTexture(GL_TEXTURE_RECTANGLE));
^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:47,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48,
from /usr/include/x86_64-linux-gnu/qt5/QtDBus/qtdbusglobal.h:44,
from /usr/include/x86_64-linux-gnu/qt5/QtDBus/qdbusabstractadaptor.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtDBus/QDBusAbstractAdaptor:1,
from /home/tiger/Desktop/LightlyShaders/dbus.h:4,
from /home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:830:31: note: candidate is: ‘QString::QString(const char*)’
inline QT_ASCII_CAST_WARN QString(const char ch)
^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:830:31: note: conversion of argument 1 would be ill-formed:
/home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:558:61: error: invalid conversion from ‘int’ to ‘const char
’ [-fpermissive]
sample_tex.append(GLTexture(GL_TEXTURE_RECTANGLE));
^
/home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:558:61: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:47,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48,
from /usr/include/x86_64-linux-gnu/qt5/QtDBus/qtdbusglobal.h:44,
from /usr/include/x86_64-linux-gnu/qt5/QtDBus/qdbusabstractadaptor.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtDBus/QDBusAbstractAdaptor:1,
from /home/tiger/Desktop/LightlyShaders/dbus.h:4,
from /home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:830:51: note: initializing argument 1 of ‘QString::QString(const char*)’
inline QT_ASCII_CAST_WARN QString(const char *ch)
~~~~~~~~~~~~^~
In file included from /usr/include/kwinglutils.h:28,
from /home/tiger/Desktop/LightlyShaders/lightlyshaders.cpp:29:
/usr/include/kwingltexture.h:59:14: note: initializing argument 1 of ‘KWin::GLTexture::GLTexture(const QString&)’
explicit GLTexture(const QString& fileName);
^~~~~~~~~
make[2]: *** [CMakeFiles/kwin4_effect_lightlyshaders.dir/build.make:63:CMakeFiles/kwin4_effect_lightlyshaders.dir/lightlyshaders.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:270:CMakeFiles/kwin4_effect_lightlyshaders.dir/all] 错误 2
make: *** [Makefile:141:all] 错误 2

Square Artifacts in Application Corners

Summary

Little squares appear in the corner of an application when another app is placed on top of it.

Steps to reproduce

Turn on LightlyShaders.
Open an application.
Open another app, and place it on top of one of the first app's corners.
Move the second app off the first one's corners
See a square artifact in the corner.

Current behaviour (bug)

Little square artifacts can be seen in the corners of an application window if another app is placed on top of it and then removed.

Expected behaviour (correct)

The artifacts would not be visible.

Relevant logs and/or media (optional)

2022-02-13.14-40-11.mp4

Software/Os Versions

Operating System: Manjaro Linux
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.5-1-MANJARO (64-bit)
Graphics Platform: X11

Maximized windows are rounded

Basically what the title says. I'm not sure if it's intended that the windows are still rounded when maximized. In the attached screenshot, the bottom left and bottom right corners are rounded. If it's intended, I suggest adding an option to disable rounding on maximized windows.

Here's some info about my system:
OS: KDE neon 5.23 User Edition
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3
Kernel Version: 5.15.5-xanmod1-tt (64 bit)
Graphics platform: X11

Thanks for all the work, even with this problem, I find that your fork is the most mature rounded corner implementation for KWin.
Screenshot_20211125_214446

[X11] KWin crash with multi-monitor setup after "KWin reconfigure" under X11

Describe the bug
Kwin crashes after issuing qdbus org.kde.KWin /KWin reconfigure or changing window decoration while using an external monitor on X11, wayland seems fine

To Reproduce
With a multi-monitor setup running X11:

  1. Enable LightlyShaders
  2. Switch between window decorations OR run qdbus org.kde.KWin /KWin reconfigure
  3. Kwin crashes
Application: KWin (kwin_x11), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f73a1b7263a in KWin::LightlyShadersEffect::~LightlyShadersEffect() (this=0x5572a3d262a0, __in_chrg=<optimized out>) at /home/luis/programs/LightlyShaders/lightlyshaders.cpp:140
#5  0x00007f73a1b727c2 in KWin::LightlyShadersEffect::~LightlyShadersEffect() (this=0x5572a3d262a0, __in_chrg=<optimized out>) at /home/luis/programs/LightlyShaders/lightlyshaders.cpp:149
#6  0x00007f73c77c3efa in KWin::EffectsHandlerImpl::destroyEffect(KWin::Effect*) () at /usr/lib/libkwin.so.5
#7  0x00007f73c77c49a1 in KWin::EffectsHandlerImpl::unloadAllEffects() () at /usr/lib/libkwin.so.5
#8  0x00007f73bc0516df in  () at /usr/lib/qt/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#9  0x00007f73c778fdba in KWin::Compositor::stop() () at /usr/lib/libkwin.so.5
#10 0x00007f73c778a7d5 in KWin::Compositor::reinitialize() () at /usr/lib/libkwin.so.5
#11 0x00007f73c64bd621 in  () at /usr/lib/libQt5Core.so.5
#12 0x00007f73c78beddb in KWin::Workspace::slotReconfigure() () at /usr/lib/libkwin.so.5
#13 0x00007f73c64bd621 in  () at /usr/lib/libQt5Core.so.5
#14 0x00007f73c64bf9df in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#15 0x00007f73c64b07d6 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#16 0x00007f73c5b78abc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f73c648cf38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007f73c64d6e93 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#19 0x00007f73c64d7342 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#20 0x00007f73bfd31d03 in  () at /usr/lib/libQt5XcbQpa.so.5
#21 0x00007f73c64856ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x00007f73c64901e9 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#23 0x00005572a1895dbf in  ()
#24 0x00007f73c5229290 in  () at /usr/lib/libc.so.6
#25 0x00007f73c522934a in __libc_start_main () at /usr/lib/libc.so.6
#26 0x00005572a1897205 in  ()
[Inferior 1 (process 3033061) detached]

System details:

  • Operating System: Arch Linux
  • KDE Plasma Version: 5.25.1
  • KDE Frameworks Version: 5.95.0
  • Qt Version: 5.15.5
  • Graphics Platform: X11

Debian 11 Compile Failed

After installed the packages you listed in the README it still output a lot of errors and I tried a lot of packages and libs
it is still not working
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 or K_PLUGIN_CLASS_WITH_JSON macro.

[ 8%] Built target kwin4_effect_lightlyshaders_autogen
Consolidate compiler generated dependencies of target kwin4_effect_lightlyshaders
[ 16%] Building CXX object CMakeFiles/kwin4_effect_lightlyshaders.dir/kwin4_effect_lightlyshaders_autogen/mocs_compilation.cpp.o
In file included from /home/shulker/Git/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../dbus.h:5,
from /home/shulker/Git/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/moc_dbus.cpp:10,
from /home/shulker/Git/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/mocs_compilation.cpp:2:
/home/shulker/Git/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../lightlyshaders.h:43:10: error: ‘void KWin::LightlyShadersEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’ marked ‘override’, but does not override
43 | void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, std::chrono::milliseconds time) override;
| ^~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/kwin4_effect_lightlyshaders.dir/build.make:76:CMakeFiles/kwin4_effect_lightlyshaders.dir/kwin4_effect_lightlyshaders_autogen/mocs_compilation.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:681:CMakeFiles/kwin4_effect_lightlyshaders.dir/all] 错误 2
make: *** [Makefile:146:all] 错误 2

Local install

Is there any way to install this plugin locally, without touching /usr? The system is immutable on Fedora Silverblue so I can't access that directory.

Effect is only active on one workspace

I use 6 workspaces and this effect is only applied to one workspace. If I go to a workspace where it does not work and switch to another window decoration, that workspace will now have the effect applied correctly but all other workspaces will not, including the one where it previously worked. Just changing window decoration settings while in a specific workspace will fix the issue for that workspace only while disabling it for all other workspaces.

Build fails on PopOS 21.04 (kwindeformeffect.h not found)

Followed every step in the Readme.md but the build failed

  • First step output (Dependencies):
user@pop-os /tmp> 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
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
extra-cmake-modules is already the newest version (5.86.0-0ubuntu1~ubuntu21.04~ppa1).
kinit-dev is already the newest version (5.86.0-0ubuntu1~ubuntu21.04~ppa1).
kwin-dev is already the newest version (4:5.22.5-0ubuntu1~ubuntu21.04~ppa1).
libkf5configwidgets-dev is already the newest version (5.86.0-0ubuntu1~ubuntu21.04~ppa1).
libkf5crash-dev is already the newest version (5.86.0-0ubuntu1~ubuntu21.04~ppa1).
libkf5globalaccel-dev is already the newest version (5.86.0-0ubuntu1~ubuntu21.04~ppa1).
libkf5kio-dev is already the newest version (5.86.0a-0ubuntu3~ubuntu21.04~ppa1).
libkf5notifications-dev is already the newest version (5.86.0-0ubuntu1~ubuntu21.04~ppa1).
cmake is already the newest version (3.18.4-2ubuntu1).
g++ is already the newest version (4:10.3.0-1ubuntu1).
gettext is already the newest version (0.21-3ubuntu2).
git is already the newest version (1:2.30.2-1ubuntu1).
libqt5x11extras5-dev is already the newest version (5.15.2-2).
qttools5-dev is already the newest version (5.15.2-5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
  • Second step output (git clone):
user@pop-os /tmp> git clone https://github.com/a-parhom/LightlyShaders
Cloning into 'LightlyShaders'...
remote: Enumerating objects: 79, done.
remote: Counting objects: 100% (79/79), done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 79 (delta 42), reused 64 (delta 29), pack-reused 0
Receiving objects: 100% (79/79), 2.18 MiB | 23.00 KiB/s, done.
Resolving deltas: 100% (42/42), done.
  • Third step output (building):
user@pop-os /tmp> cd LightlyShaders; mkdir qt5build; cd qt5build; cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DQT5BUILD=ON && make && sudo make install
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.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/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.86.0") 
-- Found KF5ConfigWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.86.0") 
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.86.0") 
-- Found KF5Crash: /usr/lib/x86_64-linux-gnu/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.86.0") 
-- Found KF5GlobalAccel: /usr/lib/x86_64-linux-gnu/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.86.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.21") 
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.86.0") 
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/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
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.86.0") 
-- Found KF5Service: /usr/lib/x86_64-linux-gnu/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.86.0") 
-- Found KF5Init: /usr/lib/x86_64-linux-gnu/cmake/KF5Init/KF5InitConfig.cmake (found version "5.86.0") 
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.86.0") 
-- Found KF5WidgetsAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.86.0") 
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.86.0") 
-- Found KF5GuiAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.86.0") 
-- Found KF5: success (found suitable version "5.86.0", minimum required is "5.9.0") found components: Config ConfigWidgets CoreAddons Crash GlobalAccel I18n KIO Service Init Notifications Service WidgetsAddons WindowSystem GuiAddons 
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (message):
  Your project should require at least CMake 3.16.0 to use FindXCB.cmake
Call Stack (most recent call first):
  /usr/share/ECM/find-modules/FindXCB.cmake:67 (ecm_find_package_version_check)
  CMakeLists.txt:51 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found XCB_XCB: /usr/lib/x86_64-linux-gnu/libxcb.so (found version "1.14") 
-- Found XCB_RENDER: /usr/lib/x86_64-linux-gnu/libxcb-render.so (found version "1.14") 
-- Found XCB_SHAPE: /usr/lib/x86_64-linux-gnu/libxcb-shape.so (found version "1.14") 
-- Found XCB_XFIXES: /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so (found version "1.14") 
-- Could NOT find XCB_SHM (missing: XCB_SHM_LIBRARY XCB_SHM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_ATOM (missing: XCB_ATOM_LIBRARY XCB_ATOM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_AUX (missing: XCB_AUX_LIBRARY XCB_AUX_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_COMPOSITE (missing: XCB_COMPOSITE_LIBRARY XCB_COMPOSITE_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_CURSOR (missing: XCB_CURSOR_LIBRARY XCB_CURSOR_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DAMAGE (missing: XCB_DAMAGE_LIBRARY XCB_DAMAGE_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DPMS (missing: XCB_DPMS_LIBRARY XCB_DPMS_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DRI2 (missing: XCB_DRI2_LIBRARY XCB_DRI2_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DRI3 (missing: XCB_DRI3_LIBRARY XCB_DRI3_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_EVENT (missing: XCB_EVENT_LIBRARY XCB_EVENT_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_EWMH (missing: XCB_EWMH_LIBRARY XCB_EWMH_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_GLX (missing: XCB_GLX_LIBRARY XCB_GLX_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_ICCCM (missing: XCB_ICCCM_LIBRARY XCB_ICCCM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_IMAGE (missing: XCB_IMAGE_LIBRARY XCB_IMAGE_INCLUDE_DIR XCB_SHM_FOUND) (found version "")
-- Could NOT find XCB_KEYSYMS (missing: XCB_KEYSYMS_LIBRARY XCB_KEYSYMS_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_PRESENT (missing: XCB_PRESENT_LIBRARY XCB_PRESENT_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RANDR (missing: XCB_RANDR_LIBRARY XCB_RANDR_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RECORD (missing: XCB_RECORD_LIBRARY XCB_RECORD_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RENDERUTIL (missing: XCB_RENDERUTIL_LIBRARY XCB_RENDERUTIL_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RES (missing: XCB_RES_LIBRARY XCB_RES_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_SCREENSAVER (missing: XCB_SCREENSAVER_LIBRARY XCB_SCREENSAVER_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_SYNC (missing: XCB_SYNC_LIBRARY XCB_SYNC_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_UTIL (missing: XCB_UTIL_LIBRARY XCB_UTIL_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XEVIE (missing: XCB_XEVIE_LIBRARY XCB_XEVIE_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XF86DRI (missing: XCB_XF86DRI_LIBRARY XCB_XF86DRI_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XINERAMA (missing: XCB_XINERAMA_LIBRARY XCB_XINERAMA_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XKB (missing: XCB_XKB_LIBRARY XCB_XKB_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XPRINT (missing: XCB_XPRINT_LIBRARY XCB_XPRINT_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XTEST (missing: XCB_XTEST_LIBRARY XCB_XTEST_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XV (missing: XCB_XV_LIBRARY XCB_XV_INCLUDE_DIR XCB_SHM_FOUND) (found version "")
-- Could NOT find XCB_XVMC (missing: XCB_XVMC_LIBRARY XCB_XVMC_INCLUDE_DIR XCB_XV_FOUND) (found version "")
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-render.so;/usr/lib/x86_64-linux-gnu/libxcb-shape.so;/usr/lib/x86_64-linux-gnu/libxcb-xfixes.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: /tmp/LightlyShaders/qt5build
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"
Found property definition "X-DocPath" with type "QString"
Generated  "/tmp/LightlyShaders/qt5build/lightlyshaders_config.json"
[ 15%] Automatic MOC for target kwin4_lightlyshaders_config
[ 15%] Built target kwin4_lightlyshaders_config_autogen
[ 23%] Generating kwineffects_interface.cpp, kwineffects_interface.h
[ 30%] Generating ui_lightlyshaders_config.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 /tmp/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/EWIEGA46WW/moc_lightlyshaders_config.cpp:10,
                 from /tmp/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/mocs_compilation.cpp:2:
/tmp/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();
      |          ^~~~
/tmp/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();
      |          ^~~~
/tmp/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 /tmp/LightlyShaders/lightlyshaders_config.cpp:1:
/tmp/LightlyShaders/lightlyshaders_config.h:13:10: warning: ‘virtual void LightlyShadersConfig::save()’ can be marked override [-Wsuggest-override]
   13 |     void save();
      |          ^~~~
/tmp/LightlyShaders/lightlyshaders_config.h:14:10: warning: ‘virtual void LightlyShadersConfig::load()’ can be marked override [-Wsuggest-override]
   14 |     void load();
      |          ^~~~
/tmp/LightlyShaders/lightlyshaders_config.h:15:10: warning: ‘virtual void LightlyShadersConfig::defaults()’ can be marked override [-Wsuggest-override]
   15 |     void defaults();
      |          ^~~~~~~~
/tmp/LightlyShaders/lightlyshaders_config.cpp: In constructor ‘LightlyShadersConfig::LightlyShadersConfig(QWidget*, const QVariantList&)’:
/tmp/LightlyShaders/lightlyshaders_config.cpp:53:28: warning: ‘static KAboutData* KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Wdeprecated-declarations]
   53 |     : KCModule(KAboutData::pluginData(QStringLiteral("kwin4_effect_lightlyshaders")), parent, args)
      |                            ^~~~~~~~~~
In file included from /usr/include/KF5/KCoreAddons/KAboutData:1,
                 from /tmp/LightlyShaders/lightlyshaders_config.cpp:16:
/usr/include/KF5/KCoreAddons/kaboutdata.h:607:24: note: declared here
  607 |     static KAboutData *pluginData(const QString &componentName);
      |                        ^~~~~~~~~~
/tmp/LightlyShaders/lightlyshaders_config.cpp:53:84: warning: ‘static KAboutData* KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Wdeprecated-declarations]
   53 |     : KCModule(KAboutData::pluginData(QStringLiteral("kwin4_effect_lightlyshaders")), parent, args)
      |                                                                                    ^
In file included from /usr/include/KF5/KCoreAddons/KAboutData:1,
                 from /tmp/LightlyShaders/lightlyshaders_config.cpp:16:
/usr/include/KF5/KCoreAddons/kaboutdata.h:607:24: note: declared here
  607 |     static KAboutData *pluginData(const QString &componentName);
      |                        ^~~~~~~~~~
/tmp/LightlyShaders/lightlyshaders_config.cpp:54:26: warning: ‘KCModule::KCModule(const KAboutData*, QWidget*, const QVariantList&)’ is deprecated: Since 5.85. Use other constructor and setAboutData() [-Wdeprecated-declarations]
   54 |     , d(new Private(this))
      |                          ^
In file included from /tmp/LightlyShaders/lightlyshaders_config.h:4,
                 from /tmp/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
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 or K_PLUGIN_CLASS_WITH_JSON macro.

AutoMoc: /tmp/LightlyShaders/lightlyshaders.cpp:0: Note: No relevant classes found. No output generated.
[ 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 /tmp/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../dbus.h:5,
                 from /tmp/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/moc_dbus.cpp:10,
                 from /tmp/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/mocs_compilation.cpp:2:
/tmp/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../lightlyshaders.h:23:10: fatal error: kwindeformeffect.h: No such file or directory
   23 | #include <kwindeformeffect.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/kwin4_effect_lightlyshaders.dir/build.make:82: CMakeFiles/kwin4_effect_lightlyshaders.dir/kwin4_effect_lightlyshaders_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:688: CMakeFiles/kwin4_effect_lightlyshaders.dir/all] Error 2
make: *** [Makefile:160: all] Error 2

As you can see in the third step the build fails with the error "kwindeformeffect.h: No such file or directory"

Other info:

  • "uname -a" output:
Linux pop-os 5.13.0-7620-generic #20~1634827117~21.04~874b071-Ubuntu SMP Fri Oct 29 15:06:55 UTC  x86_64 x86_64 x86_64 GNU/Linux

I also didn't have any problems building these versions: (Luwx/LightlyShaders, matinlotfali/KDE-Rounded-Corners)

Error 2 on OpenSuse Leap 15.3

Thank you for your hard work and prompt updates!

I just recently installed the latest OpenSuse Leap 15.3 (newly installed yesterday) and attempted to run through your steps. The dependencies seem to have all installed fine, but when I run the cmake commands, I get an Error 2. Here is the long code. Can you help me please?

0oWow@localhost:~> 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 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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.76.0") 
-- Found KF5ConfigWidgets: /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.76.0") 
-- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.76.0") 
-- Found KF5Crash: /usr/lib64/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.76.0") 
-- Found KF5GlobalAccel: /usr/lib64/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.76.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.20.2") 
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.76.0") 
-- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.76.0") 
-- Found KF5Service: /usr/lib64/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.76.0") 
-- Found KF5Init: /usr/lib64/cmake/KF5Init/KF5InitConfig.cmake (found version "5.76.0") 
-- Found KF5Notifications: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.76.0") 
-- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.76.0") 
-- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.76.0") 
-- Found KF5GuiAddons: /usr/lib64/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.76.0") 
-- Found KF5: success (found suitable version "5.76.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
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Found XCB_XCB: /usr/lib64/libxcb.so (found version "1.13") 
-- Found XCB_RENDER: /usr/lib64/libxcb-render.so (found version "1.13") 
-- Found XCB_SHAPE: /usr/lib64/libxcb-shape.so (found version "1.13") 
-- Found XCB_XFIXES: /usr/lib64/libxcb-xfixes.so (found version "1.13") 
-- Found XCB_SHM: /usr/lib64/libxcb-shm.so (found version "1.13") 
-- Could NOT find XCB_ATOM (missing: XCB_ATOM_LIBRARY XCB_ATOM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_AUX (missing: XCB_AUX_LIBRARY XCB_AUX_INCLUDE_DIR) (found version "")
-- Found XCB_COMPOSITE: /usr/lib64/libxcb-composite.so (found version "1.13") 
-- Could NOT find XCB_CURSOR (missing: XCB_CURSOR_LIBRARY XCB_CURSOR_INCLUDE_DIR) (found version "")
-- Found XCB_DAMAGE: /usr/lib64/libxcb-damage.so (found version "1.13") 
-- Found XCB_DPMS: /usr/lib64/libxcb-dpms.so (found version "1.13") 
-- Found XCB_DRI2: /usr/lib64/libxcb-dri2.so (found version "1.13") 
-- Found XCB_DRI3: /usr/lib64/libxcb-dri3.so (found version "1.13") 
-- Could NOT find XCB_EVENT (missing: XCB_EVENT_LIBRARY XCB_EVENT_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_EWMH (missing: XCB_EWMH_LIBRARY XCB_EWMH_INCLUDE_DIR) (found version "")
-- Found XCB_GLX: /usr/lib64/libxcb-glx.so (found version "1.13") 
-- Could NOT find XCB_ICCCM (missing: XCB_ICCCM_LIBRARY XCB_ICCCM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_IMAGE (missing: XCB_IMAGE_LIBRARY XCB_IMAGE_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_KEYSYMS (missing: XCB_KEYSYMS_LIBRARY XCB_KEYSYMS_INCLUDE_DIR) (found version "")
-- Found XCB_PRESENT: /usr/lib64/libxcb-present.so (found version "1.13") 
-- Found XCB_RANDR: /usr/lib64/libxcb-randr.so (found version "1.13") 
-- Found XCB_RECORD: /usr/lib64/libxcb-record.so (found version "1.13") 
-- Could NOT find XCB_RENDERUTIL (missing: XCB_RENDERUTIL_LIBRARY XCB_RENDERUTIL_INCLUDE_DIR) (found version "")
-- Found XCB_RES: /usr/lib64/libxcb-res.so (found version "1.13") 
-- Found XCB_SCREENSAVER: /usr/lib64/libxcb-screensaver.so (found version "1.13") 
-- Found XCB_SYNC: /usr/lib64/libxcb-sync.so (found version "1.13") 
-- Could NOT find XCB_UTIL (missing: XCB_UTIL_LIBRARY XCB_UTIL_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XEVIE (missing: XCB_XEVIE_LIBRARY) (found version "")
-- Found XCB_XF86DRI: /usr/lib64/libxcb-xf86dri.so (found version "1.13") 
-- Found XCB_XINERAMA: /usr/lib64/libxcb-xinerama.so (found version "1.13") 
-- Found XCB_XKB: /usr/lib64/libxcb-xkb.so (found version "1.13") 
-- Could NOT find XCB_XPRINT (missing: XCB_XPRINT_LIBRARY) (found version "")
-- Found XCB_XTEST: /usr/lib64/libxcb-xtest.so (found version "1.13") 
-- Found XCB_XV: /usr/lib64/libxcb-xv.so (found version "1.13") 
-- Found XCB_XVMC: /usr/lib64/libxcb-xvmc.so (found version "1.13") 
-- 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-composite.so;/usr/lib64/libxcb-damage.so;/usr/lib64/libxcb-dpms.so;/usr/lib64/libxcb-dri2.so;/usr/lib64/libxcb-dri3.so;/usr/lib64/libxcb-glx.so;/usr/lib64/libxcb-present.so;/usr/lib64/libxcb-randr.so;/usr/lib64/libxcb-record.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.13")  
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    QT5BUILD


-- Build files have been written to: /home/0oWow/LightlyShaders/qt5build
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/0oWow/LightlyShaders/qt5build/lightlyshaders_config.json"
[ 15%] Automatic MOC for target kwin4_lightlyshaders_config
[ 15%] Built target kwin4_lightlyshaders_config_autogen
[ 23%] Generating kwineffects_interface.cpp, kwineffects_interface.h
[ 30%] Generating ui_lightlyshaders_config.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/0oWow/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/EWIEGA46WW/moc_lightlyshaders_config.cpp:9:0,
                 from /home/0oWow/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/mocs_compilation.cpp:2:
/home/0oWow/LightlyShaders/lightlyshaders_config.h:13:10: warning: ‘virtual void LightlyShadersConfig::save()’ can be marked override [-Wsuggest-override]
     void save();
          ^~~~
/home/0oWow/LightlyShaders/lightlyshaders_config.h:14:10: warning: ‘virtual void LightlyShadersConfig::load()’ can be marked override [-Wsuggest-override]
     void load();
          ^~~~
/home/0oWow/LightlyShaders/lightlyshaders_config.h:15:10: warning: ‘virtual void LightlyShadersConfig::defaults()’ can be marked override [-Wsuggest-override]
     void defaults();
          ^~~~~~~~
[ 53%] Building CXX object CMakeFiles/kwin4_lightlyshaders_config.dir/lightlyshaders_config.cpp.o
In file included from /home/0oWow/LightlyShaders/lightlyshaders_config.cpp:1:0:
/home/0oWow/LightlyShaders/lightlyshaders.h:41:10: warning: ‘virtual void KWin::LightlyShadersEffect::reconfigure(KWin::Effect::ReconfigureFlags)’ can be marked override [-Wsuggest-override]
     void reconfigure(ReconfigureFlags flags);
          ^~~~~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders.h:43:10: warning: ‘virtual void KWin::LightlyShadersEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)’ can be marked override [-Wsuggest-override]
     void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data);
          ^~~~~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders.h:44:17: warning: ‘virtual int KWin::LightlyShadersEffect::requestedEffectChainPosition() const’ can be marked override [-Wsuggest-override]
     virtual int requestedEffectChainPosition() const { return 99; }
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders.h:42:10: warning:   by ‘void KWin::LightlyShadersEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’ [-Woverloaded-virtual]
     void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, std::chrono::milliseconds time);
          ^~~~~~~~~~~~~~
In file included from /home/0oWow/LightlyShaders/lightlyshaders_config.cpp:2:0:
/home/0oWow/LightlyShaders/lightlyshaders_config.h:13:10: warning: ‘virtual void LightlyShadersConfig::save()’ can be marked override [-Wsuggest-override]
     void save();
          ^~~~
/home/0oWow/LightlyShaders/lightlyshaders_config.h:14:10: warning: ‘virtual void LightlyShadersConfig::load()’ can be marked override [-Wsuggest-override]
     void load();
          ^~~~
/home/0oWow/LightlyShaders/lightlyshaders_config.h:15:10: warning: ‘virtual void LightlyShadersConfig::defaults()’ can be marked override [-Wsuggest-override]
     void defaults();
          ^~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders_config.cpp: In constructor ‘LightlyShadersConfig::LightlyShadersConfig(QWidget*, const QVariantList&)’:
/home/0oWow/LightlyShaders/lightlyshaders_config.cpp:60:28: warning: ‘static KAboutData* KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Wdeprecated-declarations]
     : KCModule(KAboutData::pluginData(QStringLiteral("kwin4_effect_lightlyshaders")), parent, args)
                            ^~~~~~~~~~
In file included from /usr/include/KF5/KCoreAddons/KAboutData:1:0,
                 from /home/0oWow/LightlyShaders/lightlyshaders_config.cpp:17:
/usr/include/KF5/KCoreAddons/kaboutdata.h:467:24: note: declared here
     static KAboutData *pluginData(const QString &componentName);
                        ^~~~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders_config.cpp:60:84: warning: ‘static KAboutData* KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Wdeprecated-declarations]
     : KCModule(KAboutData::pluginData(QStringLiteral("kwin4_effect_lightlyshaders")), parent, args)
                                                                                    ^
In file included from /usr/include/KF5/KCoreAddons/KAboutData:1:0,
                 from /home/0oWow/LightlyShaders/lightlyshaders_config.cpp:17:
/usr/include/KF5/KCoreAddons/kaboutdata.h:467:24: note: declared here
     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/0oWow/LightlyShaders/dbus.h:5:0,
                 from /home/0oWow/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/moc_dbus.cpp:9,
                 from /home/0oWow/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/mocs_compilation.cpp:2:
/home/0oWow/LightlyShaders/lightlyshaders.h:41:10: warning: ‘virtual void KWin::LightlyShadersEffect::reconfigure(KWin::Effect::ReconfigureFlags)’ can be marked override [-Wsuggest-override]
     void reconfigure(ReconfigureFlags flags);
          ^~~~~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders.h:43:10: warning: ‘virtual void KWin::LightlyShadersEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)’ can be marked override [-Wsuggest-override]
     void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data);
          ^~~~~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders.h:44:17: warning: ‘virtual int KWin::LightlyShadersEffect::requestedEffectChainPosition() const’ can be marked override [-Wsuggest-override]
     virtual int requestedEffectChainPosition() const { return 99; }
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders.h:42:10: warning:   by ‘void KWin::LightlyShadersEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’ [-Woverloaded-virtual]
     void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, std::chrono::milliseconds time);
          ^~~~~~~~~~~~~~
[ 92%] Building CXX object CMakeFiles/kwin4_effect_lightlyshaders.dir/lightlyshaders.cpp.o
In file included from /home/0oWow/LightlyShaders/dbus.h:5:0,
                 from /home/0oWow/LightlyShaders/lightlyshaders.cpp:20:
/home/0oWow/LightlyShaders/lightlyshaders.h:41:10: warning: ‘virtual void KWin::LightlyShadersEffect::reconfigure(KWin::Effect::ReconfigureFlags)’ can be marked override [-Wsuggest-override]
     void reconfigure(ReconfigureFlags flags);
          ^~~~~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders.h:43:10: warning: ‘virtual void KWin::LightlyShadersEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)’ can be marked override [-Wsuggest-override]
     void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data);
          ^~~~~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders.h:44:17: warning: ‘virtual int KWin::LightlyShadersEffect::requestedEffectChainPosition() const’ can be marked override [-Wsuggest-override]
     virtual int requestedEffectChainPosition() const { return 99; }
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders.h:42:10: warning:   by ‘void KWin::LightlyShadersEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’ [-Woverloaded-virtual]
     void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, std::chrono::milliseconds time);
          ^~~~~~~~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders.cpp: In member function ‘void KWin::LightlyShadersEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’:
/home/0oWow/LightlyShaders/lightlyshaders.cpp:362:46: error: no matching function for call to ‘KWin::EffectsHandler::prePaintWindow(KWin::EffectWindow*&, KWin::WindowPrePaintData&, std::chrono::milliseconds&)’
         effects->prePaintWindow(w, data, time);
                                              ^
In file included from /home/0oWow/LightlyShaders/lightlyshaders.h:23:0,
                 from /home/0oWow/LightlyShaders/dbus.h:5,
                 from /home/0oWow/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/kwineffects.h:844:18: note: candidate: virtual void KWin::EffectsHandler::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, int)
     virtual void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time) = 0;
                  ^~~~~~~~~~~~~~
/usr/include/kwineffects.h:844:18: note:   no known conversion for argument 3 from ‘std::chrono::milliseconds {aka std::chrono::duration<long int, std::ratio<1, 1000> >}’ to ‘int’
/home/0oWow/LightlyShaders/lightlyshaders.cpp:414:55: error: invalid user-defined conversion from ‘int’ to ‘const QString&’ [-fpermissive]
         GLTexture tex = GLTexture(GL_TEXTURE_RECTANGLE);
                                                       ^
In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44:0,
                 from /usr/include/qt5/QtCore/qlist.h:47,
                 from /usr/include/qt5/QtCore/qvariant.h:45,
                 from /usr/include/qt5/QtDBus/qtdbusglobal.h:45,
                 from /usr/include/qt5/QtDBus/qdbusabstractadaptor.h:43,
                 from /usr/include/qt5/QtDBus/QDBusAbstractAdaptor:1,
                 from /home/0oWow/LightlyShaders/dbus.h:4,
                 from /home/0oWow/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/qt5/QtCore/qstring.h:699:31: note: candidate is: QString::QString(const char*) <near match>
     inline QT_ASCII_CAST_WARN QString(const char *ch)
                               ^~~~~~~
/usr/include/qt5/QtCore/qstring.h:699:31: note:   conversion of argument 1 would be ill-formed:
/home/0oWow/LightlyShaders/lightlyshaders.cpp:414:55: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
         GLTexture tex = GLTexture(GL_TEXTURE_RECTANGLE);
                                                       ^
/home/0oWow/LightlyShaders/lightlyshaders.cpp:414:55: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44:0,
                 from /usr/include/qt5/QtCore/qlist.h:47,
                 from /usr/include/qt5/QtCore/qvariant.h:45,
                 from /usr/include/qt5/QtDBus/qtdbusglobal.h:45,
                 from /usr/include/qt5/QtDBus/qdbusabstractadaptor.h:43,
                 from /usr/include/qt5/QtDBus/QDBusAbstractAdaptor:1,
                 from /home/0oWow/LightlyShaders/dbus.h:4,
                 from /home/0oWow/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/qt5/QtCore/qstring.h:699:31: note:   initializing argument 1 of ‘QString::QString(const char*)’
     inline QT_ASCII_CAST_WARN QString(const char *ch)
                               ^~~~~~~
In file included from /usr/include/kwinglutils.h:28:0,
                 from /home/0oWow/LightlyShaders/lightlyshaders.cpp:29:
/usr/include/kwingltexture.h:59:14: note:   initializing argument 1 of ‘KWin::GLTexture::GLTexture(const QString&)’
     explicit GLTexture(const QString& fileName);
              ^~~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders.cpp:423:42: error: no matching function for call to ‘KWin::EffectsHandler::prePaintWindow(KWin::EffectWindow*&, KWin::WindowPrePaintData&, std::chrono::milliseconds&)’
     effects->prePaintWindow(w, data, time);
                                          ^
In file included from /home/0oWow/LightlyShaders/lightlyshaders.h:23:0,
                 from /home/0oWow/LightlyShaders/dbus.h:5,
                 from /home/0oWow/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/kwineffects.h:844:18: note: candidate: virtual void KWin::EffectsHandler::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, int)
     virtual void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time) = 0;
                  ^~~~~~~~~~~~~~
/usr/include/kwineffects.h:844:18: note:   no known conversion for argument 3 from ‘std::chrono::milliseconds {aka std::chrono::duration<long int, std::ratio<1, 1000> >}’ to ‘int’
/home/0oWow/LightlyShaders/lightlyshaders.cpp: In member function ‘void KWin::LightlyShadersEffect::getShadowDiffs(KWin::EffectWindow*, const QRect*, QList<KWin::GLTexture>&, bool)’:
/home/0oWow/LightlyShaders/lightlyshaders.cpp:635:25: warning: variable length array ‘r2’ is used [-Wvla]
     const QRect r2[NShad] =
                         ^
/home/0oWow/LightlyShaders/lightlyshaders.cpp:682:57: error: invalid user-defined conversion from ‘int’ to ‘const QString&’ [-fpermissive]
     GLTexture white_tex = GLTexture(GL_TEXTURE_RECTANGLE);
                                                         ^
In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44:0,
                 from /usr/include/qt5/QtCore/qlist.h:47,
                 from /usr/include/qt5/QtCore/qvariant.h:45,
                 from /usr/include/qt5/QtDBus/qtdbusglobal.h:45,
                 from /usr/include/qt5/QtDBus/qdbusabstractadaptor.h:43,
                 from /usr/include/qt5/QtDBus/QDBusAbstractAdaptor:1,
                 from /home/0oWow/LightlyShaders/dbus.h:4,
                 from /home/0oWow/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/qt5/QtCore/qstring.h:699:31: note: candidate is: QString::QString(const char*) <near match>
     inline QT_ASCII_CAST_WARN QString(const char *ch)
                               ^~~~~~~
/usr/include/qt5/QtCore/qstring.h:699:31: note:   conversion of argument 1 would be ill-formed:
/home/0oWow/LightlyShaders/lightlyshaders.cpp:682:57: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
     GLTexture white_tex = GLTexture(GL_TEXTURE_RECTANGLE);
                                                         ^
/home/0oWow/LightlyShaders/lightlyshaders.cpp:682:57: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44:0,
                 from /usr/include/qt5/QtCore/qlist.h:47,
                 from /usr/include/qt5/QtCore/qvariant.h:45,
                 from /usr/include/qt5/QtDBus/qtdbusglobal.h:45,
                 from /usr/include/qt5/QtDBus/qdbusabstractadaptor.h:43,
                 from /usr/include/qt5/QtDBus/QDBusAbstractAdaptor:1,
                 from /home/0oWow/LightlyShaders/dbus.h:4,
                 from /home/0oWow/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/qt5/QtCore/qstring.h:699:31: note:   initializing argument 1 of ‘QString::QString(const char*)’
     inline QT_ASCII_CAST_WARN QString(const char *ch)
                               ^~~~~~~
In file included from /usr/include/kwinglutils.h:28:0,
                 from /home/0oWow/LightlyShaders/lightlyshaders.cpp:29:
/usr/include/kwingltexture.h:59:14: note:   initializing argument 1 of ‘KWin::GLTexture::GLTexture(const QString&)’
     explicit GLTexture(const QString& fileName);
              ^~~~~~~~~
/home/0oWow/LightlyShaders/lightlyshaders.cpp: In member function ‘QList<KWin::GLTexture> KWin::LightlyShadersEffect::getTexRegions(KWin::EffectWindow*, const QRect*, const QRect&, int, bool)’:
/home/0oWow/LightlyShaders/lightlyshaders.cpp:732:61: error: invalid user-defined conversion from ‘int’ to ‘const QString&’ [-fpermissive]
             sample_tex.append(GLTexture(GL_TEXTURE_RECTANGLE));
                                                             ^
In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44:0,
                 from /usr/include/qt5/QtCore/qlist.h:47,
                 from /usr/include/qt5/QtCore/qvariant.h:45,
                 from /usr/include/qt5/QtDBus/qtdbusglobal.h:45,
                 from /usr/include/qt5/QtDBus/qdbusabstractadaptor.h:43,
                 from /usr/include/qt5/QtDBus/QDBusAbstractAdaptor:1,
                 from /home/0oWow/LightlyShaders/dbus.h:4,
                 from /home/0oWow/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/qt5/QtCore/qstring.h:699:31: note: candidate is: QString::QString(const char*) <near match>
     inline QT_ASCII_CAST_WARN QString(const char *ch)
                               ^~~~~~~
/usr/include/qt5/QtCore/qstring.h:699:31: note:   conversion of argument 1 would be ill-formed:
/home/0oWow/LightlyShaders/lightlyshaders.cpp:732:61: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
             sample_tex.append(GLTexture(GL_TEXTURE_RECTANGLE));
                                                             ^
/home/0oWow/LightlyShaders/lightlyshaders.cpp:732:61: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44:0,
                 from /usr/include/qt5/QtCore/qlist.h:47,
                 from /usr/include/qt5/QtCore/qvariant.h:45,
                 from /usr/include/qt5/QtDBus/qtdbusglobal.h:45,
                 from /usr/include/qt5/QtDBus/qdbusabstractadaptor.h:43,
                 from /usr/include/qt5/QtDBus/QDBusAbstractAdaptor:1,
                 from /home/0oWow/LightlyShaders/dbus.h:4,
                 from /home/0oWow/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/qt5/QtCore/qstring.h:699:31: note:   initializing argument 1 of ‘QString::QString(const char*)’
     inline QT_ASCII_CAST_WARN QString(const char *ch)
                               ^~~~~~~
In file included from /usr/include/kwinglutils.h:28:0,
                 from /home/0oWow/LightlyShaders/lightlyshaders.cpp:29:
/usr/include/kwingltexture.h:59:14: note:   initializing argument 1 of ‘KWin::GLTexture::GLTexture(const QString&)’
     explicit GLTexture(const QString& fileName);
              ^~~~~~~~~
make[2]: *** [CMakeFiles/kwin4_effect_lightlyshaders.dir/build.make:93: CMakeFiles/kwin4_effect_lightlyshaders.dir/lightlyshaders.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:126: CMakeFiles/kwin4_effect_lightlyshaders.dir/all] Error 2
make: *** [Makefile:158: all] Error 2

Seeing white line of the corner of a window (on X11 and on Wayland).

A picture explains it better:

IMG_0437

What you see here is, I have 2 windows behind this Firefox window. From those 2 windows you can see the corner though another window (doesn't matter if it is GTK or a Qt window).

I did saw this earlier when I reported that bug with the "-" lines (#44), but I assumed when you fixed that one, this would also be fixed. Alas, that didn't seem to be the case.

I freshly compiled and installed the latest release before reporting to be sure to be on the most recent version.

Arch, KDE Plasma 5.24.90, fully uptodate.
AMD CPU and GPU (2700X and 5700 XT).

Build fails on PopOS 21.04 (kwindeformeffect.h not found)

Followed every step in the Readme.md but the build failed

  • First step output (Dependencies):
user@pop-os /tmp> 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
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
extra-cmake-modules is already the newest version (5.86.0-0ubuntu1~ubuntu21.04~ppa1).
kinit-dev is already the newest version (5.86.0-0ubuntu1~ubuntu21.04~ppa1).
kwin-dev is already the newest version (4:5.22.5-0ubuntu1~ubuntu21.04~ppa1).
libkf5configwidgets-dev is already the newest version (5.86.0-0ubuntu1~ubuntu21.04~ppa1).
libkf5crash-dev is already the newest version (5.86.0-0ubuntu1~ubuntu21.04~ppa1).
libkf5globalaccel-dev is already the newest version (5.86.0-0ubuntu1~ubuntu21.04~ppa1).
libkf5kio-dev is already the newest version (5.86.0a-0ubuntu3~ubuntu21.04~ppa1).
libkf5notifications-dev is already the newest version (5.86.0-0ubuntu1~ubuntu21.04~ppa1).
cmake is already the newest version (3.18.4-2ubuntu1).
g++ is already the newest version (4:10.3.0-1ubuntu1).
gettext is already the newest version (0.21-3ubuntu2).
git is already the newest version (1:2.30.2-1ubuntu1).
libqt5x11extras5-dev is already the newest version (5.15.2-2).
qttools5-dev is already the newest version (5.15.2-5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
  • Second step output (git clone):
user@pop-os /tmp> git clone https://github.com/a-parhom/LightlyShaders
Cloning into 'LightlyShaders'...
remote: Enumerating objects: 79, done.
remote: Counting objects: 100% (79/79), done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 79 (delta 42), reused 64 (delta 29), pack-reused 0
Receiving objects: 100% (79/79), 2.18 MiB | 23.00 KiB/s, done.
Resolving deltas: 100% (42/42), done.
  • Third step output (building):
user@pop-os /tmp> cd LightlyShaders; mkdir qt5build; cd qt5build; cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DQT5BUILD=ON && make && sudo make install
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.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/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.86.0") 
-- Found KF5ConfigWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.86.0") 
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.86.0") 
-- Found KF5Crash: /usr/lib/x86_64-linux-gnu/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.86.0") 
-- Found KF5GlobalAccel: /usr/lib/x86_64-linux-gnu/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.86.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.21") 
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.86.0") 
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/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
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.86.0") 
-- Found KF5Service: /usr/lib/x86_64-linux-gnu/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.86.0") 
-- Found KF5Init: /usr/lib/x86_64-linux-gnu/cmake/KF5Init/KF5InitConfig.cmake (found version "5.86.0") 
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.86.0") 
-- Found KF5WidgetsAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.86.0") 
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.86.0") 
-- Found KF5GuiAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.86.0") 
-- Found KF5: success (found suitable version "5.86.0", minimum required is "5.9.0") found components: Config ConfigWidgets CoreAddons Crash GlobalAccel I18n KIO Service Init Notifications Service WidgetsAddons WindowSystem GuiAddons 
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (message):
  Your project should require at least CMake 3.16.0 to use FindXCB.cmake
Call Stack (most recent call first):
  /usr/share/ECM/find-modules/FindXCB.cmake:67 (ecm_find_package_version_check)
  CMakeLists.txt:51 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found XCB_XCB: /usr/lib/x86_64-linux-gnu/libxcb.so (found version "1.14") 
-- Found XCB_RENDER: /usr/lib/x86_64-linux-gnu/libxcb-render.so (found version "1.14") 
-- Found XCB_SHAPE: /usr/lib/x86_64-linux-gnu/libxcb-shape.so (found version "1.14") 
-- Found XCB_XFIXES: /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so (found version "1.14") 
-- Could NOT find XCB_SHM (missing: XCB_SHM_LIBRARY XCB_SHM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_ATOM (missing: XCB_ATOM_LIBRARY XCB_ATOM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_AUX (missing: XCB_AUX_LIBRARY XCB_AUX_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_COMPOSITE (missing: XCB_COMPOSITE_LIBRARY XCB_COMPOSITE_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_CURSOR (missing: XCB_CURSOR_LIBRARY XCB_CURSOR_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DAMAGE (missing: XCB_DAMAGE_LIBRARY XCB_DAMAGE_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DPMS (missing: XCB_DPMS_LIBRARY XCB_DPMS_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DRI2 (missing: XCB_DRI2_LIBRARY XCB_DRI2_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_DRI3 (missing: XCB_DRI3_LIBRARY XCB_DRI3_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_EVENT (missing: XCB_EVENT_LIBRARY XCB_EVENT_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_EWMH (missing: XCB_EWMH_LIBRARY XCB_EWMH_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_GLX (missing: XCB_GLX_LIBRARY XCB_GLX_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_ICCCM (missing: XCB_ICCCM_LIBRARY XCB_ICCCM_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_IMAGE (missing: XCB_IMAGE_LIBRARY XCB_IMAGE_INCLUDE_DIR XCB_SHM_FOUND) (found version "")
-- Could NOT find XCB_KEYSYMS (missing: XCB_KEYSYMS_LIBRARY XCB_KEYSYMS_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_PRESENT (missing: XCB_PRESENT_LIBRARY XCB_PRESENT_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RANDR (missing: XCB_RANDR_LIBRARY XCB_RANDR_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RECORD (missing: XCB_RECORD_LIBRARY XCB_RECORD_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RENDERUTIL (missing: XCB_RENDERUTIL_LIBRARY XCB_RENDERUTIL_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_RES (missing: XCB_RES_LIBRARY XCB_RES_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_SCREENSAVER (missing: XCB_SCREENSAVER_LIBRARY XCB_SCREENSAVER_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_SYNC (missing: XCB_SYNC_LIBRARY XCB_SYNC_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_UTIL (missing: XCB_UTIL_LIBRARY XCB_UTIL_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XEVIE (missing: XCB_XEVIE_LIBRARY XCB_XEVIE_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XF86DRI (missing: XCB_XF86DRI_LIBRARY XCB_XF86DRI_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XINERAMA (missing: XCB_XINERAMA_LIBRARY XCB_XINERAMA_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XKB (missing: XCB_XKB_LIBRARY XCB_XKB_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XPRINT (missing: XCB_XPRINT_LIBRARY XCB_XPRINT_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XTEST (missing: XCB_XTEST_LIBRARY XCB_XTEST_INCLUDE_DIR) (found version "")
-- Could NOT find XCB_XV (missing: XCB_XV_LIBRARY XCB_XV_INCLUDE_DIR XCB_SHM_FOUND) (found version "")
-- Could NOT find XCB_XVMC (missing: XCB_XVMC_LIBRARY XCB_XVMC_INCLUDE_DIR XCB_XV_FOUND) (found version "")
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-render.so;/usr/lib/x86_64-linux-gnu/libxcb-shape.so;/usr/lib/x86_64-linux-gnu/libxcb-xfixes.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: /tmp/LightlyShaders/qt5build
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"
Found property definition "X-DocPath" with type "QString"
Generated  "/tmp/LightlyShaders/qt5build/lightlyshaders_config.json"
[ 15%] Automatic MOC for target kwin4_lightlyshaders_config
[ 15%] Built target kwin4_lightlyshaders_config_autogen
[ 23%] Generating kwineffects_interface.cpp, kwineffects_interface.h
[ 30%] Generating ui_lightlyshaders_config.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 /tmp/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/EWIEGA46WW/moc_lightlyshaders_config.cpp:10,
                 from /tmp/LightlyShaders/qt5build/kwin4_lightlyshaders_config_autogen/mocs_compilation.cpp:2:
/tmp/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();
      |          ^~~~
/tmp/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();
      |          ^~~~
/tmp/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 /tmp/LightlyShaders/lightlyshaders_config.cpp:1:
/tmp/LightlyShaders/lightlyshaders_config.h:13:10: warning: ‘virtual void LightlyShadersConfig::save()’ can be marked override [-Wsuggest-override]
   13 |     void save();
      |          ^~~~
/tmp/LightlyShaders/lightlyshaders_config.h:14:10: warning: ‘virtual void LightlyShadersConfig::load()’ can be marked override [-Wsuggest-override]
   14 |     void load();
      |          ^~~~
/tmp/LightlyShaders/lightlyshaders_config.h:15:10: warning: ‘virtual void LightlyShadersConfig::defaults()’ can be marked override [-Wsuggest-override]
   15 |     void defaults();
      |          ^~~~~~~~
/tmp/LightlyShaders/lightlyshaders_config.cpp: In constructor ‘LightlyShadersConfig::LightlyShadersConfig(QWidget*, const QVariantList&)’:
/tmp/LightlyShaders/lightlyshaders_config.cpp:53:28: warning: ‘static KAboutData* KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Wdeprecated-declarations]
   53 |     : KCModule(KAboutData::pluginData(QStringLiteral("kwin4_effect_lightlyshaders")), parent, args)
      |                            ^~~~~~~~~~
In file included from /usr/include/KF5/KCoreAddons/KAboutData:1,
                 from /tmp/LightlyShaders/lightlyshaders_config.cpp:16:
/usr/include/KF5/KCoreAddons/kaboutdata.h:607:24: note: declared here
  607 |     static KAboutData *pluginData(const QString &componentName);
      |                        ^~~~~~~~~~
/tmp/LightlyShaders/lightlyshaders_config.cpp:53:84: warning: ‘static KAboutData* KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Wdeprecated-declarations]
   53 |     : KCModule(KAboutData::pluginData(QStringLiteral("kwin4_effect_lightlyshaders")), parent, args)
      |                                                                                    ^
In file included from /usr/include/KF5/KCoreAddons/KAboutData:1,
                 from /tmp/LightlyShaders/lightlyshaders_config.cpp:16:
/usr/include/KF5/KCoreAddons/kaboutdata.h:607:24: note: declared here
  607 |     static KAboutData *pluginData(const QString &componentName);
      |                        ^~~~~~~~~~
/tmp/LightlyShaders/lightlyshaders_config.cpp:54:26: warning: ‘KCModule::KCModule(const KAboutData*, QWidget*, const QVariantList&)’ is deprecated: Since 5.85. Use other constructor and setAboutData() [-Wdeprecated-declarations]
   54 |     , d(new Private(this))
      |                          ^
In file included from /tmp/LightlyShaders/lightlyshaders_config.h:4,
                 from /tmp/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
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 or K_PLUGIN_CLASS_WITH_JSON macro.

AutoMoc: /tmp/LightlyShaders/lightlyshaders.cpp:0: Note: No relevant classes found. No output generated.
[ 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 /tmp/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../dbus.h:5,
                 from /tmp/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/moc_dbus.cpp:10,
                 from /tmp/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/mocs_compilation.cpp:2:
/tmp/LightlyShaders/qt5build/kwin4_effect_lightlyshaders_autogen/EWIEGA46WW/../../../lightlyshaders.h:23:10: fatal error: kwindeformeffect.h: No such file or directory
   23 | #include <kwindeformeffect.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/kwin4_effect_lightlyshaders.dir/build.make:82: CMakeFiles/kwin4_effect_lightlyshaders.dir/kwin4_effect_lightlyshaders_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:688: CMakeFiles/kwin4_effect_lightlyshaders.dir/all] Error 2
make: *** [Makefile:160: all] Error 2

As you can see in the third step the build fails with the error "kwindeformeffect.h: No such file or directory"

Other info:

  • "uname -a" output

User-defined list of ignored windows

Currently there's no way to indicate the effect that a window shouldn't be processed with the shader creatin the problem of applications that look like this:
Yakuake (Yakuake)

I don't think that accounting for every single case like this in a built-in list is realistic so a user-defined one looks neccesary.

I'm thinking of the class overrides that breeze has.

Opensuse?

Would you be able to provide the prereqs for OpenSuse Leap or Tumbleweed please?

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.