Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Gtk-CRITICAL error when attempting to install Qt
QtWS25 Last Chance

Gtk-CRITICAL error when attempting to install Qt

Scheduled Pinned Locked Moved Installation and Deployment
17 Posts 12 Posters 17.9k Views
  • 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.
  • T Offline
    T Offline
    tbadman
    wrote on last edited by
    #1

    When I open the online installer of Qt I get the following error

    @(Qt_SDK_Lin64_online_v1_1_3_en.run:2471): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed@

    If I ignore the error and attempt to install Qt my entire computer completely locks up after specifying the install dir. I am running Ubuntu 11.10 64-bit.

    Any help would be much appreciated.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      freecamellia
      wrote on last edited by
      #2

      I have exactly the same problem except that I am running Ubuntu 11.10 32-bit not 64-bit.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #3

        I get lots of those Gtk-CRITICAL warnings when running any Gtk-based application from a terminal. I guess those are normal?

        Installation went smoothly for me (it currently is downloading the components). I am using Ubuntu 11.10 (64bit) with Gnome 3.2.

        1 Reply Last reply
        0
        • F Offline
          F Offline
          freecamellia
          wrote on last edited by
          #4

          There are an other way to install it ?

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on last edited by
            #5

            Try installing while running some UI environment that is not unity (3D). A hard crash in Linux is nowadays most often caused by the graphics drivers and unity needs way more of those than others. Might be worth a try...

            1 Reply Last reply
            0
            • N Offline
              N Offline
              nicolas_s
              wrote on last edited by
              #6

              https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/805303

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #7

                Wow, that is a really annoying bug they have there:-(

                Try switching the Qt4 theme using qt-config (no idea where that is included in ubuntu) or just switch the GTK theme to one not provided by canonical. That might already work around the problem. Let's hope ubuntu fixes this soon!

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  perdigao1
                  wrote on last edited by
                  #8

                  Hi,

                  I'm having a similar problem when trying to install Qt on ubuntu 11.10. I tried on unity-2d and xubuntu desktops. The installer asks for type of installation (standard or custom), folder to install and then the computer almost hangs for several minutes. The installer still runs (the task bar icon is present) but when I click on it the computer hangs for several minutes, and nothing happens. When I run from the command line I get several identical error messages "Gtk_CRITICAL: IA_gtk_widgetstyle assertion GTK_IS_WIDGET".

                  How do you change the QT4 theme using qt-config?

                  I just noticed that Ubuntu software centre offers the option to install Qt-creator (and qt-others). I will try this route and see if I am successful.

                  EDITED
                  I can confirm that installation via ubuntu software centre was successful, the computer didn't hang up during the installation and the QtCreator program starts fine.

                  1 Reply Last reply
                  0
                  • I Offline
                    I Offline
                    ivanov-yordan
                    wrote on last edited by
                    #9

                    "Look here":http://developer.qt.nokia.com/forums/viewthread/11247/

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      dangcheng
                      wrote on last edited by
                      #10

                      how to solve this problem ,

                      does anybody have a clear way ?

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tobias.hunger
                        wrote on last edited by
                        #11

                        dangcheng: Did you read the article Yordan Ivanov linked to?

                        1 Reply Last reply
                        0
                        • D Offline
                          D Offline
                          dangcheng
                          wrote on last edited by
                          #12

                          [quote author="Tobias Hunger" date="1320491280"]dangcheng: Did you read the article Yordan Ivanov linked to?[/quote]

                          yeah.
                          but in ubuntu 11.10 still have problem

                          I am using ubuntu 11.10 i follow Yordan guide like below:
                          ./Qt_SDK_Lin32_offline_v1_1_1_en.run -style cleanlooks
                          then error still :
                          QCoreApplication::applicationFilePath: Please instantiate the QApplication object first
                          Unknown option: -style
                          could you help me ? thanks!

                          1 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            christian_german
                            wrote on last edited by
                            #13

                            i also have the same problem too when i'm trying to install qt on my ubuntu 11.10. But i managed to install it using Ubuntu Software Center. Hope that helps.

                            1 Reply Last reply
                            0
                            • F Offline
                              F Offline
                              funkyowo
                              wrote on last edited by
                              #14

                              same problem here except when i installed using ubuntu SC i don't get the full install of Qt SDK, some methods and functions seems to be missing.

                              1 Reply Last reply
                              0
                              • O Offline
                                O Offline
                                o11o
                                wrote on last edited by
                                #15

                                The same problem!! tried every trick on the book! nothing worked (I'm running Ubuntu 12.04 :( )
                                And tried that version on the software Center !! Well It's not that similar to the one I used on MAC or on Windows, and has loads of errors especially when "compiling" (to be fair; couldn't understand the errors given though the "code" is 101 % correct)
                                I see that it'd started about a year ago, Linux didn't fix it; well !! Can we see an effort from Qt Team to fix that bug? If so, anytime sooner ?!! :(

                                1 Reply Last reply
                                0
                                • R Offline
                                  R Offline
                                  ryelluripati
                                  wrote on last edited by
                                  #16

                                  I am on Ubuntu 12.04 ./QtSdk-offline-linux-x86_64-v1.2.1.run -style motif works fine for me. Without the style argument my computer freezes

                                  1 Reply Last reply
                                  0
                                  • P Offline
                                    P Offline
                                    pstanisz
                                    wrote on last edited by
                                    #17

                                    [quote author="ryelluripati" date="1345181153"]I am on Ubuntu 12.04 ./QtSdk-offline-linux-x86_64-v1.2.1.run -style motif works fine for me. Without the style argument my computer freezes[/quote]

                                    Same with my Ubuntu 12.04. Thanks for hint!

                                    1 Reply Last reply
                                    0

                                    • Login

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