首页 > 学院 > 开发设计 > 正文

Qt运行提示QGtkStyle was unable to detect the current GTK+ theme.解决方法

2019-11-06 07:53:57
字体:
来源:转载
供稿:网友

Ubuntu上安装完Qt之后出现

QGtkStyle was unable to detectthe current GTK+ theme.

原因是Qt没有成功的加载Ubuntu的主题,因此解决方法就是给Qt指定ubuntu的主题,方法如下,在终端中键入:

qtconfig

如下图,select GUI Style 为windows即可解决问题 


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表