Gtk-Message: Failed to load module "overlay-scrollbar"
-
Hi
I have been trying to make a simple application in linux and I get this error Gtk-Message: Failed to load module "overlay-scrollbar" which is stopping me from testing it.
How does one fix this error? -
hi
Qt is not related to Gtk in any way.
I never saw such error before.
Could u tell :
what linux distro
how you installed Qt.
where you see this error.in hope it will cast more light.
-
Linux: Zorin 9 (based on Ubuntu)
Qt installation: installation package from Qt website
Error location: Application Output section of the Editor after clicking the run button.Qt in linux seems to be using Gtk for something, otherwise that error would not be popping up in Application Output.
edit: did some poking on the net and found out that Qt was looking at a configuration file for something that was not there,
to fix it, you'll need the terminal to check if the config is there but not installed, then purge the overlay-scrollbar log out, re-install overlay-scrollbar and then log out and the error is completely gone. -
@Fidchells_Eye
ok.
what was this config file?
Seems like a nice linux so this issue might pop up again. -
The configuration file is for the overlay-scrollbar package.
and that file is part of the overlay-scrollbar package.Steps for checking in terminal:
dpkg -l overlay-scrollbarif you get something like this:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-============================-===================-===================-================
rc overlay-scrollbar 0.2.16+r359+14.04.2 all Scrollbar overlay*rc = removed, but config file still presents.
then the package is not there, but it's configuration file is.At which point you'll need the good old terminal to purge the configuration file with:
sudo apt-get purge overlay-scrollbarthen log out
you can then try it, if you get another error with the scrollbar
then use in terminal:
sudo apt-get install overlay-scrollbarlog out and you should be good to go.
-
Thank you for a nice guide. :)