当前位置: 代码迷 >> 综合 >> QGtkStyle was unable to detect the current GTK+ theme
  详细解决方案

QGtkStyle was unable to detect the current GTK+ theme

热度:98   发布时间:2024-01-21 07:06:00.0
 
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

  相关解决方案