Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Gtk-Message: Failed to load module "overlay-scrollbar"
Forum Updated to NodeBB v4.3 + New Features

Gtk-Message: Failed to load module "overlay-scrollbar"

Scheduled Pinned Locked Moved Solved General and Desktop
linuxgtkerror
7 Posts 2 Posters 12.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Fidchells_Eye
    wrote on 23 Jun 2016, 14:25 last edited by Fidchells_Eye
    #1

    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?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 23 Jun 2016, 15:05 last edited by
      #2

      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.

      F 1 Reply Last reply 23 Jun 2016, 15:29
      0
      • M mrjj
        23 Jun 2016, 15:05

        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.

        F Offline
        F Offline
        Fidchells_Eye
        wrote on 23 Jun 2016, 15:29 last edited by Fidchells_Eye
        #3

        @mrjj

        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.

        M 1 Reply Last reply 23 Jun 2016, 15:44
        1
        • F Fidchells_Eye
          23 Jun 2016, 15:29

          @mrjj

          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.

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 23 Jun 2016, 15:44 last edited by
          #4

          @Fidchells_Eye
          ok.
          what was this config file?
          Seems like a nice linux so this issue might pop up again.

          F 1 Reply Last reply 23 Jun 2016, 17:02
          0
          • M mrjj
            23 Jun 2016, 15:44

            @Fidchells_Eye
            ok.
            what was this config file?
            Seems like a nice linux so this issue might pop up again.

            F Offline
            F Offline
            Fidchells_Eye
            wrote on 23 Jun 2016, 17:02 last edited by Fidchells_Eye
            #5

            @mrjj

            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:
            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-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.

            1 Reply Last reply
            1
            • M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 23 Jun 2016, 17:09 last edited by mrjj
              #6

              Thank you for a nice guide. :)

              F 1 Reply Last reply 23 Jun 2016, 17:34
              0
              • M mrjj
                23 Jun 2016, 17:09

                Thank you for a nice guide. :)

                F Offline
                F Offline
                Fidchells_Eye
                wrote on 23 Jun 2016, 17:34 last edited by
                #7

                @mrjj

                Your welcome,
                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

                1 Reply Last reply
                0

                1/7

                23 Jun 2016, 14:25

                • Login

                • Login or register to search.
                1 out of 7
                • First post
                  1/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved