Nokia QtSDK installer crash on Ubuntu: how to fix it

HowTo, Linux, Programmazione, Qt, Ubuntu (EN) Add comments

If you try to install Nokia QtSDK on Ubuntu using the Nokia installer (that provides a newer version than the one distributed in Ubuntu Software Center) you could get an error like this:

(Qt_SDK_Lin32_offline_v1_1_3_en.run:3126): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed

to fix it, you need to run the installer with a specific parameter:

andrea@centurion:~/Downloads/Qt$ ./Qt_SDK_Lin32_offline_v1_1_4_en.run -style cleanlooks

and everything should work!

8 Responses to “Nokia QtSDK installer crash on Ubuntu: how to fix it”

  1. Marius Gedminas Says:

    For me the problem was not the message you pasted (I see these, or at least similar ones, all the time), but a huuuuuge memory leak that would make my machine slow down to a crawl. The same fix applies.

  2. Andrea Grandi Says:

    @Marius: a problem remains… you cannot use the updating tool available in QtCreator. I’ve tried starting qtcreator with the same parameter, but it doesn’t start the updating tool anyway. This is a weird problem!

  3. MSergey Says:

    @Andea: you proble fixed by change interface style in qtconfig-qt4 from gtk to another.
    Probleb (segmentation fault, freez comp, don installed chinas font ( ? ) …)with program developed on Qt framework is started from Ubuntu 11.04 . But bugreport dont’s resolved :( yes we have some workaround, but this not good. My IMHO is program developed or usage Qt Framework, QtSDK, QtCreator must be work on ubuntu with Unity out of the box!

  4. Andrea Grandi Says:

    @MSergey: yes, using qtconfig-qt4 and setting the style to “Cleanlooks” affect the settings in a more generic way. In this way you can also start the Sdk Updater and it works :)

  5. Carlo Pires Says:

    Thanks. The “-style clearlooks” worked for me (Ubuntu 12.04)

  6. Andrea Grandi Says:

    Is the bug still present even with Ubuntu 12.04 and latest QtCreator?
    Which version of QtCreator are you using?

  7. quentni Says:

    same problem (latest/default qt online version for x64 ubuntu 12.04).
    I tried your solution after downloading the offline version => start well.

  8. Fernando Says:

    Same problem with ubuntu 13.04, same fix works :) thanks

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in

Switch to our mobile site