Skip to content

dde-control-center 插件不显示问题 #2869

Discussion options

You must be logged in to vote

你好,我是DDE的开发,应该可以帮助到你。

1、在.pro同级目录新建MetaData.json文件
填充内容为 {"api":"1.0.0"}

2、需要修改程序
修改privacyplugin.h文件的第55行
Q_PLUGIN_METADATA(IID ModuleInterface_iid FILE "MetaData.json")

3、重新编译程序

4、拷贝.so文件到 /usr/lib/dde-control-center/modules/中

一通操作之后,应该可以解决你的问题,感谢你对UOS的支持。

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by BLumia
Comment options

You must be logged in to vote
2 replies
@BLumia
Comment options

@BLumia
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion | question discussion | 疑问/问题
4 participants
Converted from issue

This discussion was converted from issue #2748 on March 25, 2022 09:13.