kwin/autotests/integration/scripting
Vlad Zahorodnii 141947d2e8 effects: Link builtin effects with executables
The main motivation behind this change is to prepare kwin for importing
kwayland-server code in libkwin.

As is, builtin effects are linked with libkwin. Some builtin effects
have wayland specific code. If we move wayland stuff in libkwin, there's
going to be a circular dependency between kwin4_effect_builtins and
libkwin targets.

This change intends to break that dependency by linking builtin effects
to kwin executable.

The main issue with that is that EffectLoader would need to discover the
effects indirectly. QStaticPlugin is used for that purpose.

Besides breaking the cyclic dependency, it makes builtin effects use the
same plugin infrastructure in libkwineffects that external effects use.

Metadata in src/effects/effect_builtins.cpp was converted in a list of
python dictionaries, which was fed to a python script that generated
main.cpp and metadata.json files.
2021-10-19 09:12:15 +00:00
..
scripts [scripting] Port ScriptedEffects to QJSEngine 2021-02-23 07:47:01 +00:00
CMakeLists.txt
minimizeall_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
screenedge_test.cpp effects: Link builtin effects with executables 2021-10-19 09:12:15 +00:00