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
Forum Updated to NodeBB v4.3 + New Features

Gtk-CRITICAL error when attempting to install Qt

Scheduled Pinned Locked Moved Installation and Deployment
17 Posts 12 Posters 18.1k Views 1 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.
  • 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