Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not build on Kwin 5.21 #42

Open
hillwoodroc opened this issue Feb 24, 2021 · 2 comments
Open

Can not build on Kwin 5.21 #42

hillwoodroc opened this issue Feb 24, 2021 · 2 comments

Comments

@hillwoodroc
Copy link
Contributor

hillwoodroc commented Feb 24, 2021

/mocs_compilation.cpp:7:
[ 132s] /home/abuild/rpmbuild/BUILD/ukui-kwin-274ca9a227dfbdf43625d02e054de8240740586c/build/kcmkwin/kwindecoration/declarative-plugin/kdecorationprivatedeclarative_autogen/EWIEGA46WW/../../../../../../kcmkwin/kwindecoration/declarative-plugin/previewclient.h:110:10: error: 'void KDecoration2::Preview::PreviewClient::requestShowWindowMenu()' marked 'override', but does not override
[ 132s] 110 | void requestShowWindowMenu() override;
[ 132s] | ^~~~~~~~~~~~~~~~~~~~~
[ 132s] make[2]: *** [kcmkwin/kwindecoration/declarative-plugin/CMakeFiles/kdecorationprivatedeclarative.dir/build.make:82: kcmkwin/kwindecoration/declarative-plugin/CMakeFiles/kdecorationprivatedeclarative.dir/kdecorationprivatedeclarative_autogen/mocs_compilation.cpp.o] Error 1
[ 132s] make[2]: Leaving directory '/home/abuild/rpmbuild

/BUILD/ukui-kwin-274ca9a227dfbdf43625d02e054de8240740586c/build'
[ 132s] make[1]: *** [CMakeFiles/Makefile2:2793: kcmkwin/kwindecoration/declarative-plugin/CMakeFiles/kdecorationprivatedeclarative.dir/all] Error 2
[ 132s] make[1]: *** Waiting for unfinished jobs....

@brsvh brsvh pinned this issue May 10, 2021
@OriPoin
Copy link

OriPoin commented Jul 7, 2021

我也遇到了同样的错误,请看下这次commit
5.20.90后完善了requestShowWindowMenu函数,导致ukui-kwin在override这个函数的时候输入不一致

@OriPoin
Copy link

OriPoin commented Jul 8, 2021

可以使用这个patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants