laloch / kwin-effect-osdclock

KWin effect that displays clock at the corner of the screen
GNU General Public License v2.0
11 stars 2 forks source link

Broken after update to plasma 5.20 #1

Closed ben2talk closed 3 years ago

ben2talk commented 3 years ago

/home/ben/.cache/yay/kwin-effect-osdclock-git/src/kwin-effect-osdclock/src/osdclock_config.cpp:39:26: error: ‘static KAboutData KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Werror=deprecated-declarations] 39 | KCModule(KAboutData::pluginData(QStringLiteral("kwin_osdclock")), parent, args) | ^~~~~~ In file included from /usr/include/KF5/KCoreAddons/KAboutData:1, from /home/ben/.cache/yay/kwin-effect-osdclock-git/src/kwin-effect-osdclock/src/osdclock_config.cpp:29: /usr/include/KF5/KCoreAddons/kaboutdata.h:467:24: note: declared here 467 | static KAboutData pluginData(const QString &componentName); | ^~~~~~ /home/ben/.cache/yay/kwin-effect-osdclock-git/src/kwin-effect-osdclock/src/osdclock_config.cpp:39:68: error: ‘static KAboutData KAboutData::pluginData(const QString&)’ is deprecated: Since 5.76. See API docs [-Werror=deprecated-declarations] 39 | KCModule(KAboutData::pluginData(QStringLiteral("kwin_osdclock")), parent, args) | ^ In file included from /usr/include/KF5/KCoreAddons/KAboutData:1, from /home/ben/.cache/yay/kwin-effect-osdclock-git/src/kwin-effect-osdclock/src/osdclock_config.cpp:29: /usr/include/KF5/KCoreAddons/kaboutdata.h:467:24: note: declared here 467 | static KAboutData pluginData(const QString &componentName); | ^~~~~~ cc1plus: all warnings being treated as errors make[2]: [src/CMakeFiles/kwin_osdclock_config.dir/build.make:119: src/CMakeFiles/kwin_osdclock_config.dir/osdclock_config.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:292: src/CMakeFiles/kwin_osdclock_config.dir/all] Error 2 make: *** [Makefile:160: all] Error 2 ==> ERROR: A failure occurred in build().

laloch commented 3 years ago

Hi @ben2talk, thanks for reporting! I'll try to fix the issue ASAP.

laloch commented 3 years ago

Fixed by 7999e93.

ben2talk commented 3 years ago

Thank you, works for me.  On Wednesday, 13 January 2021, 20:44:32 GMT+7, David Strobach notifications@github.com wrote:

Closed #1.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.