qt - Fedora 30:GTK 无法加载 appmenu-gtk-module
问题描述
我正在学习用 Python 和 Rust 编程。在不同版本的 Ubuntu 上,这些程序可以完美编译和运行。现在我有一个专用的 Fedora 30 KDE 系统,每次尝试构建程序时,我都会收到警告:Failed to load module "appmenu-gtk-module"
我已尝试查找此内容并在我的系统上重新/安装了任何 GTK。其他程序运行良好,但没有绘制菜单。我也在 GNOME 中尝试过,并且遇到了同样的问题。
我也在使用QT。这些程序也可以正常构建和运行,但同样没有菜单。
我要疯了。任何帮助表示赞赏。
解决方案
The appmenu-gtk module is not packaged on Fedora. (GNOME doesn't support them anyway.)
The real questions are:
Why is it configured to load? Did you copy or share GTK config files from an Ubuntu system? You should remove this module from your settings.
Even with improper configs I don't believe this should result in menus not appearing. It should just fail to load and work as normal. How is your application using menus?
推荐阅读
- spring-boot - Spring Webflux 服务器发送事件 Thymeleaf
- javascript - Cannot login Atlassian due to the issue in Load Scripts
- python - incorrect results in sorting a datasets in descending order
- javascript - 滚动到时如何让多个 SVG 绘图平滑渲染?
- java - How to start activity or service (Either) on bootup completed?
- meteor - Login meteor web application with SSO
- java - Changed React website to java website on same domain but still displays react website
- java - 获取“包 org.apache.log4j 不存在”错误
- c# - 我想要网格视图中的单元格数据并检查插入时的值是否大于文本框的值
- azure - Azure 函数服务主体在 AD 中不可用