Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Qt 4.8.3 designer and assistant work on KDE but both crash on GNOME
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.6k 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.
  • C Offline
    C Offline
    cmazieri
    wrote on last edited by
    #1

    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
    @
    1691,1692c1691,1693
    < 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
    @
    298a299

    299a301

    /* carlos: avoiding dbus new versions
    303a306,307

    */
    @

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

    Does anyone can help ?

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

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

      Anyway: Get a backtrace and pinpoint what goes wrong.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cmazieri
        wrote on last edited by
        #3

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

        The problem happened on file qgtkstyle.cpp line 1714.

        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