Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Gtk-Message: Failed to load module "overlay-scrollbar"
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?
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.
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-scrollbar
if you get something like this:
|/ 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-scrollbar
then log out
you can then try it, if you get another error with the scrollbar
then use in terminal:
sudo apt-get install overlay-scrollbar
log out and you should be good to go.
Thank you for a nice guide. :)
Fidchells_Eye last edited by
it can be a pain to find answers at times, so having a guide near the IDE for odd errors helps in getting stuff done quicker for those odd errors