Gtk-CRITICAL error when attempting to install Qt
-
wrote on 16 Oct 2011, 15:10 last edited by
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.
-
wrote on 19 Oct 2011, 13:04 last edited by
I have exactly the same problem except that I am running Ubuntu 11.10 32-bit not 64-bit.
-
wrote on 19 Oct 2011, 14:28 last edited by
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.
-
wrote on 19 Oct 2011, 17:28 last edited by
There are an other way to install it ?
-
wrote on 20 Oct 2011, 06:52 last edited by
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...
-
wrote on 20 Oct 2011, 14:31 last edited by
-
wrote on 21 Oct 2011, 06:44 last edited by
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!
-
wrote on 31 Oct 2011, 09:35 last edited by
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. -
wrote on 2 Nov 2011, 14:23 last edited by
-
wrote on 5 Nov 2011, 09:36 last edited by
how to solve this problem ,
does anybody have a clear way ?
-
wrote on 5 Nov 2011, 11:08 last edited by
dangcheng: Did you read the article Yordan Ivanov linked to?
-
wrote on 5 Nov 2011, 11:46 last edited by
[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 problemI 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! -
wrote on 6 Nov 2011, 18:17 last edited by
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.
-
wrote on 18 Nov 2011, 13:35 last edited by
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.
-
wrote on 9 Jul 2012, 01:11 last edited by
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 ?!! :( -
wrote on 17 Aug 2012, 05:25 last edited by
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
-
wrote on 20 Sept 2012, 06:39 last edited by
[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!