解决“QGtkStyle could not resolve GTK……”问题

如果出现错误

QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries

或者出现错误

error while loading shared libraries: libgtk-x11-2.0.so.0

可以尝试以下命令

sudo apt-get install libgtk2.0-0

若出现新错误

Failed to load module "canberra-gtk-module"

则可尝试以下命令

sudo apt-get install libcanberra-gtk-module

2019.06.26

posted @ 2019-07-11 22:20  wh201906  阅读(1447)  评论(0编辑  收藏  举报