Updated today to Plasma 5.26 beta [kde-unstable] on Arch, tried with both master and v2.0, build logs below
master
❱ cd LightlyShaders; mkdir qt5build; cd qt5build; cmake ../ -DCMAKE_INSTALL_PREFIX=/usr && make && sudo make install
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/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/lib/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Setting build type to 'Debug' as none was specified.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.98.0")
-- Found KF5ConfigWidgets: /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.98.0")
-- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.98.0")
-- Found KF5Crash: /usr/lib64/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.98.0")
-- Found KF5GlobalAccel: /usr/lib64/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.98.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.21")
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.98.0")
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.98.0")
-- Found KF5Service: /usr/lib64/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.98.0")
-- Found KF5Init: /usr/lib64/cmake/KF5Init/KF5InitConfig.cmake (found version "5.98.0")
-- Found KF5Notifications: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.98.0")
-- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.98.0")
-- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.98.0")
-- Found KF5GuiAddons: /usr/lib64/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.98.0")
-- Found KF5: success (found suitable version "5.98.0", minimum required is "5.9.0") found components: Config ConfigWidgets CoreAddons Crash GlobalAccel I18n KIO Service Init Notifications Service WidgetsAddons WindowSystem GuiAddons
-- Found XCB_XCB: /usr/lib/libxcb.so (found version "1.15")
-- Found XCB_RENDER: /usr/lib/libxcb-render.so (found version "1.15")
-- Found XCB_SHAPE: /usr/lib/libxcb-shape.so (found version "1.15")
-- Found XCB_XFIXES: /usr/lib/libxcb-xfixes.so (found version "1.15")
-- Found XCB_SHM: /usr/lib/libxcb-shm.so (found version "1.15")
-- Found XCB_ATOM: /usr/lib/libxcb-util.so (found version "0.4.0")
-- Found XCB_AUX: /usr/lib/libxcb-util.so (found version "0.4.0")
-- Found XCB_COMPOSITE: /usr/lib/libxcb-composite.so (found version "1.15")
-- Found XCB_CURSOR: /usr/lib/libxcb-cursor.so (found version "0.1.3")
-- Found XCB_DAMAGE: /usr/lib/libxcb-damage.so (found version "1.15")
-- Found XCB_DPMS: /usr/lib/libxcb-dpms.so (found version "1.15")
-- Found XCB_DRI2: /usr/lib/libxcb-dri2.so (found version "1.15")
-- Found XCB_DRI3: /usr/lib/libxcb-dri3.so (found version "1.15")
-- Found XCB_EVENT: /usr/lib/libxcb-util.so (found version "0.4.0")
-- Found XCB_EWMH: /usr/lib/libxcb-ewmh.so (found version "0.4.1")
-- Found XCB_GLX: /usr/lib/libxcb-glx.so (found version "1.15")
-- Found XCB_ICCCM: /usr/lib/libxcb-icccm.so (found version "0.4.1")
-- Found XCB_IMAGE: /usr/lib/libxcb-image.so (found version "0.4.0")
-- Found XCB_KEYSYMS: /usr/lib/libxcb-keysyms.so (found version "0.4.0")
-- Found XCB_PRESENT: /usr/lib/libxcb-present.so (found version "1.15")
-- Found XCB_RANDR: /usr/lib/libxcb-randr.so (found version "1.15")
-- Found XCB_RECORD: /usr/lib/libxcb-record.so (found version "1.15")
-- Found XCB_RENDERUTIL: /usr/lib/libxcb-render-util.so (found version "0.3.9")
-- Found XCB_RES: /usr/lib/libxcb-res.so (found version "1.15")
-- Found XCB_SCREENSAVER: /usr/lib/libxcb-screensaver.so (found version "1.15")
-- Found XCB_SYNC: /usr/lib/libxcb-sync.so (found version "1.15")
-- Found XCB_UTIL: /usr/lib/libxcb-util.so (found version "0.4.0")
-- Could NOT find XCB_XEVIE (missing: XCB_XEVIE_LIBRARY) (found version "")
-- Found XCB_XF86DRI: /usr/lib/libxcb-xf86dri.so (found version "1.15")
-- Found XCB_XINERAMA: /usr/lib/libxcb-xinerama.so (found version "1.15")
-- Found XCB_XINPUT: /usr/lib/libxcb-xinput.so (found version "1.15")
-- Found XCB_XKB: /usr/lib/libxcb-xkb.so (found version "1.15")
-- Could NOT find XCB_XPRINT (missing: XCB_XPRINT_LIBRARY) (found version "")
-- Found XCB_XTEST: /usr/lib/libxcb-xtest.so (found version "1.15")
-- Found XCB_XV: /usr/lib/libxcb-xv.so (found version "1.15")
-- Found XCB_XVMC: /usr/lib/libxcb-xvmc.so (found version "1.15")
-- Found XCB: /usr/lib/libxcb.so;/usr/lib/libxcb-render.so;/usr/lib/libxcb-shape.so;/usr/lib/libxcb-xfixes.so;/usr/lib/libxcb-shm.so;/usr/lib/libxcb-util.so;/usr/lib/libxcb-composite.so;/usr/lib/libxcb-cursor.so;/usr/lib/libxcb-damage.so;/usr/lib/libxcb-dpms.so;/usr/lib/libxcb-dri2.so;/usr/lib/libxcb-dri3.so;/usr/lib/libxcb-ewmh.so;/usr/lib/libxcb-glx.so;/usr/lib/libxcb-icccm.so;/usr/lib/libxcb-image.so;/usr/lib/libxcb-keysyms.so;/usr/lib/libxcb-present.so;/usr/lib/libxcb-randr.so;/usr/lib/libxcb-record.so;/usr/lib/libxcb-render-util.so;/usr/lib/libxcb-res.so;/usr/lib/libxcb-screensaver.so;/usr/lib/libxcb-sync.so;/usr/lib/libxcb-xf86dri.so;/usr/lib/libxcb-xinerama.so;/usr/lib/libxcb-xinput.so;/usr/lib/libxcb-xkb.so;/usr/lib/libxcb-xtest.so;/usr/lib/libxcb-xv.so;/usr/lib/libxcb-xvmc.so (found version "1.15")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/luis/programs/LightlyShaders/qt5build
[ 8%] 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_CLASS, K_PLUGIN_FACTORY_WITH_JSON or K_PLUGIN_CLASS_WITH_JSON macro.
[ 8%] Built target kwin4_effect_lightlyshaders_autogen
[ 16%] Building CXX object CMakeFiles/kwin4_effect_lightlyshaders.dir/kwin4_effect_lightlyshaders_autogen/mocs_compilation.cpp.o
[ 25%] Building CXX object CMakeFiles/kwin4_effect_lightlyshaders.dir/lightlyshaders.cpp.o
/home/luis/programs/LightlyShaders/lightlyshaders.cpp: In constructor ‘KWin::LightlyShadersEffect::LightlyShadersEffect()’:
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:81:63: error: cannot convert ‘std::unique_ptr<KWin::GLShader>’ to ‘KWin::GLShader*’ in assignment
81 | m_shader = ShaderManager::instance()->generateCustomShader(ShaderTrait::MapTexture, QByteArray(), frag);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| std::unique_ptr<KWin::GLShader>
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:85:67: error: cannot convert ‘std::unique_ptr<KWin::GLShader>’ to ‘KWin::GLShader*’ in assignment
85 | m_diffShader = ShaderManager::instance()->generateCustomShader(ShaderTrait::MapTexture, QByteArray(), diff_frag);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| std::unique_ptr<KWin::GLShader>
/home/luis/programs/LightlyShaders/lightlyshaders.cpp: In member function ‘void KWin::LightlyShadersEffect::windowAdded(KWin::EffectWindow*)’:
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:221:47: error: conversion from ‘QRectF’ to non-scalar type ‘QRect’ requested
221 | QRect maximized_area = effects->clientArea(MaximizeArea, w);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/home/luis/programs/LightlyShaders/lightlyshaders.cpp: In member function ‘virtual void KWin::LightlyShadersEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’:
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:424:39: error: no matching function for call to ‘QRect::QRect(QRectF)’
424 | const QRect geo(w->frameGeometry());
| ^
In file included from /usr/include/qt/QtGui/qpaintdevice.h:45,
from /usr/include/qt/QtGui/qimage.h:46,
from /usr/include/qt/QtGui/QImage:1,
from /usr/include/kwinglobals.h:14,
from /usr/include/kwineffects.h:18,
from /home/luis/programs/LightlyShaders/lightlyshaders.h:23,
from /home/luis/programs/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/qt/QtCore/qrect.h:184:25: note: candidate: ‘constexpr QRect::QRect(int, int, int, int)’
184 | Q_DECL_CONSTEXPR inline QRect::QRect(int aleft, int atop, int awidth, int aheight) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:184:25: note: candidate expects 4 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:190:25: note: candidate: ‘constexpr QRect::QRect(const QPoint&, const QSize&)’
190 | Q_DECL_CONSTEXPR inline QRect::QRect(const QPoint &atopLeft, const QSize &asize) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:190:25: note: candidate expects 2 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:187:25: note: candidate: ‘constexpr QRect::QRect(const QPoint&, const QPoint&)’
187 | Q_DECL_CONSTEXPR inline QRect::QRect(const QPoint &atopLeft, const QPoint &abottomRight) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:187:25: note: candidate expects 2 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:60:22: note: candidate: ‘constexpr QRect::QRect()’
60 | Q_DECL_CONSTEXPR QRect() noexcept : x1(0), y1(0), x2(-1), y2(-1) {}
| ^~~~~
/usr/include/qt/QtCore/qrect.h:60:22: note: candidate expects 0 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:57:21: note: candidate: ‘constexpr QRect::QRect(const QRect&)’
57 | class Q_CORE_EXPORT QRect
| ^~~~~
/usr/include/qt/QtCore/qrect.h:57:21: note: no known conversion for argument 1 from ‘QRectF’ to ‘const QRect&’
/usr/include/qt/QtCore/qrect.h:57:21: note: candidate: ‘constexpr QRect::QRect(QRect&&)’
/usr/include/qt/QtCore/qrect.h:57:21: note: no known conversion for argument 1 from ‘QRectF’ to ‘QRect&&’
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:425:48: error: no matching function for call to ‘QRegion::QRegion(QRectF)’
425 | const QRegion exp_geo(w->expandedGeometry());
| ^
In file included from /usr/include/qt/QtGui/qmatrix.h:45,
from /usr/include/qt/QtGui/qtransform.h:43,
from /usr/include/qt/QtGui/qimage.h:48:
/usr/include/qt/QtGui/qregion.h:74:5: note: candidate: ‘QRegion::QRegion(const QBitmap&)’
74 | QRegion(const QBitmap &bitmap);
| ^~~~~~~
/usr/include/qt/QtGui/qregion.h:74:28: note: no known conversion for argument 1 from ‘QRectF’ to ‘const QBitmap&’
74 | QRegion(const QBitmap &bitmap);
| ~~~~~~~~~~~~~~~^~~~~~
/usr/include/qt/QtGui/qregion.h:72:5: note: candidate: ‘QRegion::QRegion(QRegion&&)’
72 | QRegion(QRegion &&other) noexcept
| ^~~~~~~
/usr/include/qt/QtGui/qregion.h:72:23: note: no known conversion for argument 1 from ‘QRectF’ to ‘QRegion&&’
72 | QRegion(QRegion &&other) noexcept
| ~~~~~~~~~~^~~~~
/usr/include/qt/QtGui/qregion.h:71:5: note: candidate: ‘QRegion::QRegion(const QRegion&)’
71 | QRegion(const QRegion ®ion);
| ^~~~~~~
/usr/include/qt/QtGui/qregion.h:71:28: note: no known conversion for argument 1 from ‘QRectF’ to ‘const QRegion&’
71 | QRegion(const QRegion ®ion);
| ~~~~~~~~~~~~~~~^~~~~~
/usr/include/qt/QtGui/qregion.h:70:5: note: candidate: ‘QRegion::QRegion(const QPolygon&, Qt::FillRule)’
70 | QRegion(const QPolygon &pa, Qt::FillRule fillRule = Qt::OddEvenFill);
| ^~~~~~~
/usr/include/qt/QtGui/qregion.h:70:29: note: no known conversion for argument 1 from ‘QRectF’ to ‘const QPolygon&’
70 | QRegion(const QPolygon &pa, Qt::FillRule fillRule = Qt::OddEvenFill);
| ~~~~~~~~~~~~~~~~^~
/usr/include/qt/QtGui/qregion.h:69:5: note: candidate: ‘QRegion::QRegion(const QRect&, RegionType)’
69 | QRegion(const QRect &r, RegionType t = Rectangle);
| ^~~~~~~
/usr/include/qt/QtGui/qregion.h:69:26: note: no known conversion for argument 1 from ‘QRectF’ to ‘const QRect&’
69 | QRegion(const QRect &r, RegionType t = Rectangle);
| ~~~~~~~~~~~~~^
/usr/include/qt/QtGui/qregion.h:68:5: note: candidate: ‘QRegion::QRegion(int, int, int, int, RegionType)’
68 | QRegion(int x, int y, int w, int h, RegionType t = Rectangle);
| ^~~~~~~
/usr/include/qt/QtGui/qregion.h:68:5: note: candidate expects 5 arguments, 1 provided
/usr/include/qt/QtGui/qregion.h:67:5: note: candidate: ‘QRegion::QRegion()’
67 | QRegion();
| ^~~~~~~
/usr/include/qt/QtGui/qregion.h:67:5: note: candidate expects 0 arguments, 1 provided
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:485:48: error: conversion from ‘QRectF’ to non-scalar type ‘QRect’ requested
485 | QRect w_geo = window->frameGeometry();
| ~~~~~~~~~~~~~~~~~~~~~^~
/home/luis/programs/LightlyShaders/lightlyshaders.cpp: In member function ‘virtual void KWin::LightlyShadersEffect::paintScreen(int, const QRegion&, KWin::ScreenPaintData&)’:
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:583:23: error: ‘class KWin::ScreenPaintData’ has no member named ‘xScale’
583 | qreal zoom = data.xScale();
| ^~~~~~
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:594:27: error: ‘class KWin::ScreenPaintData’ has no member named ‘xTranslation’
594 | m_xTranslation = data.xTranslation();
| ^~~~~~~~~~~~
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:595:27: error: ‘class KWin::ScreenPaintData’ has no member named ‘yTranslation’
595 | m_yTranslation = data.yTranslation();
| ^~~~~~~~~~~~
/home/luis/programs/LightlyShaders/lightlyshaders.cpp: In member function ‘bool KWin::LightlyShadersEffect::isValidWindow(KWin::EffectWindow*, int)’:
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:621:52: error: cannot convert ‘QRectF’ to ‘const QRect&’
621 | || (!screen.intersects(w->frameGeometry()) && !(mask & PAINT_WINDOW_TRANSFORMED))
| ~~~~~~~~~~~~~~~~^~
| |
| QRectF
/usr/include/qt/QtCore/qrect.h:141:34: note: initializing argument 1 of ‘bool QRect::intersects(const QRect&) const’
141 | bool intersects(const QRect &r) const noexcept;
| ~~~~~~~~~~~~~^
/home/luis/programs/LightlyShaders/lightlyshaders.cpp: In member function ‘virtual void KWin::LightlyShadersEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)’:
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:665:33: error: no matching function for call to ‘QRect::QRect(QRectF)’
665 | QRect geo(w->frameGeometry());
| ^
/usr/include/qt/QtCore/qrect.h:184:25: note: candidate: ‘constexpr QRect::QRect(int, int, int, int)’
184 | Q_DECL_CONSTEXPR inline QRect::QRect(int aleft, int atop, int awidth, int aheight) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:184:25: note: candidate expects 4 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:190:25: note: candidate: ‘constexpr QRect::QRect(const QPoint&, const QSize&)’
190 | Q_DECL_CONSTEXPR inline QRect::QRect(const QPoint &atopLeft, const QSize &asize) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:190:25: note: candidate expects 2 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:187:25: note: candidate: ‘constexpr QRect::QRect(const QPoint&, const QPoint&)’
187 | Q_DECL_CONSTEXPR inline QRect::QRect(const QPoint &atopLeft, const QPoint &abottomRight) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:187:25: note: candidate expects 2 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:60:22: note: candidate: ‘constexpr QRect::QRect()’
60 | Q_DECL_CONSTEXPR QRect() noexcept : x1(0), y1(0), x2(-1), y2(-1) {}
| ^~~~~
/usr/include/qt/QtCore/qrect.h:60:22: note: candidate expects 0 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:57:21: note: candidate: ‘constexpr QRect::QRect(const QRect&)’
57 | class Q_CORE_EXPORT QRect
| ^~~~~
/usr/include/qt/QtCore/qrect.h:57:21: note: no known conversion for argument 1 from ‘QRectF’ to ‘const QRect&’
/usr/include/qt/QtCore/qrect.h:57:21: note: candidate: ‘constexpr QRect::QRect(QRect&&)’
/usr/include/qt/QtCore/qrect.h:57:21: note: no known conversion for argument 1 from ‘QRectF’ to ‘QRect&&’
/home/luis/programs/LightlyShaders/lightlyshaders.cpp: In member function ‘void KWin::LightlyShadersEffect::getShadowDiffs(KWin::EffectWindow*, const QRect*, QList<KWin::GLTexture>&, qreal, qreal, bool, int)’:
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:875:46: error: conversion from ‘QRectF’ to non-scalar type ‘const QRect’ requested
875 | const QRect w_exgeo = w->expandedGeometry();
| ~~~~~~~~~~~~~~~~~~~^~
make[2]: *** [CMakeFiles/kwin4_effect_lightlyshaders.dir/build.make:90: CMakeFiles/kwin4_effect_lightlyshaders.dir/lightlyshaders.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:681: CMakeFiles/kwin4_effect_lightlyshaders.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
2 ✘ (7.819s) 18:17:48 $ ~/programs/LightlyShaders/qt5build (master % u= origin/master)
v2.0
❱ cd LightlyShaders; mkdir qt5build; cd qt5build; cmake ../ -DCMAKE_INSTALL_PREFIX=/usr && make && sudo make install
mkdir: cannot create directory ‘qt5build’: File exists
-- Could NOT find XCB_XEVIE (missing: XCB_XEVIE_LIBRARY) (found version "")
-- Could NOT find XCB_XPRINT (missing: XCB_XPRINT_LIBRARY) (found version "")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/luis/programs/LightlyShaders/qt5build
[ 8%] 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_CLASS, 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
[ 25%] Building CXX object CMakeFiles/kwin4_effect_lightlyshaders.dir/lightlyshaders.cpp.o
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:648:5: warning: "/*" within comment [-Wcomment]
648 | /*QRegion blur_region = w->data(WindowBlurBehindRole).value<QRegion>();
|
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:672:9: warning: "/*" within comment [-Wcomment]
672 | /*if(w->windowClass().contains("konsole", Qt::CaseInsensitive)) {
|
/home/luis/programs/LightlyShaders/lightlyshaders.cpp: In constructor ‘KWin::LightlyShadersEffect::LightlyShadersEffect()’:
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:79:63: error: cannot convert ‘std::unique_ptr<KWin::GLShader>’ to ‘KWin::GLShader*’ in assignment
79 | m_shader = ShaderManager::instance()->generateCustomShader(ShaderTrait::MapTexture, QByteArray(), frag);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| std::unique_ptr<KWin::GLShader>
/home/luis/programs/LightlyShaders/lightlyshaders.cpp: In member function ‘void KWin::LightlyShadersEffect::windowAdded(KWin::EffectWindow*)’:
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:214:47: error: conversion from ‘QRectF’ to non-scalar type ‘QRect’ requested
214 | QRect maximized_area = effects->clientArea(MaximizeArea, w);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/home/luis/programs/LightlyShaders/lightlyshaders.cpp: In member function ‘virtual void KWin::LightlyShadersEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::milliseconds)’:
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:443:39: error: no matching function for call to ‘QRect::QRect(QRectF)’
443 | const QRect geo(w->frameGeometry());
| ^
In file included from /usr/include/qt/QtGui/qpaintdevice.h:45,
from /usr/include/qt/QtGui/qimage.h:46,
from /usr/include/qt/QtGui/QImage:1,
from /usr/include/kwinglobals.h:14,
from /usr/include/kwineffects.h:18,
from /home/luis/programs/LightlyShaders/lightlyshaders.h:23,
from /home/luis/programs/LightlyShaders/lightlyshaders.cpp:20:
/usr/include/qt/QtCore/qrect.h:184:25: note: candidate: ‘constexpr QRect::QRect(int, int, int, int)’
184 | Q_DECL_CONSTEXPR inline QRect::QRect(int aleft, int atop, int awidth, int aheight) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:184:25: note: candidate expects 4 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:190:25: note: candidate: ‘constexpr QRect::QRect(const QPoint&, const QSize&)’
190 | Q_DECL_CONSTEXPR inline QRect::QRect(const QPoint &atopLeft, const QSize &asize) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:190:25: note: candidate expects 2 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:187:25: note: candidate: ‘constexpr QRect::QRect(const QPoint&, const QPoint&)’
187 | Q_DECL_CONSTEXPR inline QRect::QRect(const QPoint &atopLeft, const QPoint &abottomRight) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:187:25: note: candidate expects 2 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:60:22: note: candidate: ‘constexpr QRect::QRect()’
60 | Q_DECL_CONSTEXPR QRect() noexcept : x1(0), y1(0), x2(-1), y2(-1) {}
| ^~~~~
/usr/include/qt/QtCore/qrect.h:60:22: note: candidate expects 0 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:57:21: note: candidate: ‘constexpr QRect::QRect(const QRect&)’
57 | class Q_CORE_EXPORT QRect
| ^~~~~
/usr/include/qt/QtCore/qrect.h:57:21: note: no known conversion for argument 1 from ‘QRectF’ to ‘const QRect&’
/usr/include/qt/QtCore/qrect.h:57:21: note: candidate: ‘constexpr QRect::QRect(QRect&&)’
/usr/include/qt/QtCore/qrect.h:57:21: note: no known conversion for argument 1 from ‘QRectF’ to ‘QRect&&’
/home/luis/programs/LightlyShaders/lightlyshaders.cpp: In member function ‘bool KWin::LightlyShadersEffect::isValidWindow(KWin::EffectWindow*, int)’:
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:701:52: error: cannot convert ‘QRectF’ to ‘const QRect&’
701 | || (!screen.intersects(w->frameGeometry()) && !(mask & PAINT_WINDOW_TRANSFORMED))
| ~~~~~~~~~~~~~~~~^~
| |
| QRectF
/usr/include/qt/QtCore/qrect.h:141:34: note: initializing argument 1 of ‘bool QRect::intersects(const QRect&) const’
141 | bool intersects(const QRect &r) const noexcept;
| ~~~~~~~~~~~~~^
/home/luis/programs/LightlyShaders/lightlyshaders.cpp: In member function ‘virtual void KWin::LightlyShadersEffect::drawWindow(KWin::EffectWindow*, int, const QRegion&, KWin::WindowPaintData&)’:
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:723:33: error: no matching function for call to ‘QRect::QRect(QRectF)’
723 | QRect geo(w->frameGeometry());
| ^
/usr/include/qt/QtCore/qrect.h:184:25: note: candidate: ‘constexpr QRect::QRect(int, int, int, int)’
184 | Q_DECL_CONSTEXPR inline QRect::QRect(int aleft, int atop, int awidth, int aheight) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:184:25: note: candidate expects 4 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:190:25: note: candidate: ‘constexpr QRect::QRect(const QPoint&, const QSize&)’
190 | Q_DECL_CONSTEXPR inline QRect::QRect(const QPoint &atopLeft, const QSize &asize) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:190:25: note: candidate expects 2 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:187:25: note: candidate: ‘constexpr QRect::QRect(const QPoint&, const QPoint&)’
187 | Q_DECL_CONSTEXPR inline QRect::QRect(const QPoint &atopLeft, const QPoint &abottomRight) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:187:25: note: candidate expects 2 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:60:22: note: candidate: ‘constexpr QRect::QRect()’
60 | Q_DECL_CONSTEXPR QRect() noexcept : x1(0), y1(0), x2(-1), y2(-1) {}
| ^~~~~
/usr/include/qt/QtCore/qrect.h:60:22: note: candidate expects 0 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:57:21: note: candidate: ‘constexpr QRect::QRect(const QRect&)’
57 | class Q_CORE_EXPORT QRect
| ^~~~~
/usr/include/qt/QtCore/qrect.h:57:21: note: no known conversion for argument 1 from ‘QRectF’ to ‘const QRect&’
/usr/include/qt/QtCore/qrect.h:57:21: note: candidate: ‘constexpr QRect::QRect(QRect&&)’
/usr/include/qt/QtCore/qrect.h:57:21: note: no known conversion for argument 1 from ‘QRectF’ to ‘QRect&&’
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:724:40: error: no matching function for call to ‘QRect::QRect(QRectF)’
724 | QRect exp_geo(w->expandedGeometry());
| ^
/usr/include/qt/QtCore/qrect.h:184:25: note: candidate: ‘constexpr QRect::QRect(int, int, int, int)’
184 | Q_DECL_CONSTEXPR inline QRect::QRect(int aleft, int atop, int awidth, int aheight) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:184:25: note: candidate expects 4 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:190:25: note: candidate: ‘constexpr QRect::QRect(const QPoint&, const QSize&)’
190 | Q_DECL_CONSTEXPR inline QRect::QRect(const QPoint &atopLeft, const QSize &asize) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:190:25: note: candidate expects 2 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:187:25: note: candidate: ‘constexpr QRect::QRect(const QPoint&, const QPoint&)’
187 | Q_DECL_CONSTEXPR inline QRect::QRect(const QPoint &atopLeft, const QPoint &abottomRight) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:187:25: note: candidate expects 2 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:60:22: note: candidate: ‘constexpr QRect::QRect()’
60 | Q_DECL_CONSTEXPR QRect() noexcept : x1(0), y1(0), x2(-1), y2(-1) {}
| ^~~~~
/usr/include/qt/QtCore/qrect.h:60:22: note: candidate expects 0 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:57:21: note: candidate: ‘constexpr QRect::QRect(const QRect&)’
57 | class Q_CORE_EXPORT QRect
| ^~~~~
/usr/include/qt/QtCore/qrect.h:57:21: note: no known conversion for argument 1 from ‘QRectF’ to ‘const QRect&’
/usr/include/qt/QtCore/qrect.h:57:21: note: candidate: ‘constexpr QRect::QRect(QRect&&)’
/usr/include/qt/QtCore/qrect.h:57:21: note: no known conversion for argument 1 from ‘QRectF’ to ‘QRect&&’
/home/luis/programs/LightlyShaders/lightlyshaders.cpp:725:41: error: no matching function for call to ‘QRect::QRect(QRectF)’
725 | QRect contents_geo(w->contentsRect());
| ^
/usr/include/qt/QtCore/qrect.h:184:25: note: candidate: ‘constexpr QRect::QRect(int, int, int, int)’
184 | Q_DECL_CONSTEXPR inline QRect::QRect(int aleft, int atop, int awidth, int aheight) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:184:25: note: candidate expects 4 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:190:25: note: candidate: ‘constexpr QRect::QRect(const QPoint&, const QSize&)’
190 | Q_DECL_CONSTEXPR inline QRect::QRect(const QPoint &atopLeft, const QSize &asize) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:190:25: note: candidate expects 2 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:187:25: note: candidate: ‘constexpr QRect::QRect(const QPoint&, const QPoint&)’
187 | Q_DECL_CONSTEXPR inline QRect::QRect(const QPoint &atopLeft, const QPoint &abottomRight) noexcept
| ^~~~~
/usr/include/qt/QtCore/qrect.h:187:25: note: candidate expects 2 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:60:22: note: candidate: ‘constexpr QRect::QRect()’
60 | Q_DECL_CONSTEXPR QRect() noexcept : x1(0), y1(0), x2(-1), y2(-1) {}
| ^~~~~
/usr/include/qt/QtCore/qrect.h:60:22: note: candidate expects 0 arguments, 1 provided
/usr/include/qt/QtCore/qrect.h:57:21: note: candidate: ‘constexpr QRect::QRect(const QRect&)’
57 | class Q_CORE_EXPORT QRect
| ^~~~~
/usr/include/qt/QtCore/qrect.h:57:21: note: no known conversion for argument 1 from ‘QRectF’ to ‘const QRect&’
/usr/include/qt/QtCore/qrect.h:57:21: note: candidate: ‘constexpr QRect::QRect(QRect&&)’
/usr/include/qt/QtCore/qrect.h:57:21: note: no known conversion for argument 1 from ‘QRectF’ to ‘QRect&&’
make[2]: *** [CMakeFiles/kwin4_effect_lightlyshaders.dir/build.make:90: CMakeFiles/kwin4_effect_lightlyshaders.dir/lightlyshaders.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:681: CMakeFiles/kwin4_effect_lightlyshaders.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
2 ✘ (4.682s) 18:28:08 $ ~/programs/LightlyShaders/qt5build (v2.0 % u= origin/v2.0)
Updated today to Plasma 5.26 beta [kde-unstable] on Arch, tried with both master and v2.0, build logs below
master
v2.0
System details: