Important: Please read the Qt Code of Conduct -

[SOLVED] Qt 4.8.3 designer and assistant work on KDE but both crash on GNOME

  • Hi All,

    I have compiled Qt 4.8.3 on a Red Hat Enterprise Linux Client release 5.5, Qt Library and qtdemo look like working perfect.

    In this build I have commented some lines from dbus module regarding "q_dbus_get_version()"

    diff qdbusintegrator.cpp orig/qdbusintegrator.cpp
    < int major, minor, micro;
    < q_dbus_get_version(&major, &minor, &micro);

    int major=1, minor=0, micro=0;

    // carlos: forcing to return 0 at this point
    // q_dbus_get_version(&major, &minor, &micro);

    diff orig/qdbus_symbols_p.h qdbus_symbols_p.h


    /* carlos: avoiding dbus new versions


    designer and assistant work perfect on KDE but them crash when running on GNOME.

    Does anyone can help ?

  • Moderators

    Try overriding the style... it might be the gtk-style plugin that is causing this.

    Anyway: Get a backtrace and pinpoint what goes wrong.

  • It was solved by compiling with "-no-gtkstyle" option.

    The problem happened on file qgtkstyle.cpp line 1714.

Log in to reply