QGtkStyle was unable to detect the current GTK+ theme

来源:互联网 发布:jenkins 源码管理 编辑:程序博客网 时间:2024/05/22 13:45
 
gtk开发的桌面运行qt的程序有时会报这个错:
代码:
QGtkStyle was unable to detect the current GTK+ theme


解决方法:
代码:
# gconftool-2 --set /desktop/gnome/interface/gtk_theme --type string "Default"

# Default为主题名称,/usr/share/themes/下
或者直接用gconf-editor

原创粉丝点击