Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: QT apps appearance under GNOME

  1. #1

    Default QT apps appearance under GNOME

    I am using openSUSE 11.2 64 bit with the GNOME desktop. I have installed several QT based applications such as Krita and Umbrello and while they work fine the look they present doesn't fit in with the rest of my desktop. Specifically the widget style in those applications feature small rounded buttons with a tendency towards using blue for highlights and focus selection.

    Is there a way to change the widget set used by QT applications when running under GNOME? I tried changing things in qtconfig however it doesn't seem to have any effect on these applications. I'm wondering if there is a KDE utility or something I should install in order to control this behavior and could use a pointer in the right direction.

  2. #2

    Default Re: QT apps appearance under GNOME

    There's already a topic from the pre-release days, and a bug tracker ticket. Apparently there is a build somewhere on the build service with the "let Qt use GTK theme" option enabled, but I've asked which it is and haven't had an answer.

  3. #3

    Default Re: QT apps appearance under GNOME

    Thanks, kind of disappointing if there is no workaround because the Qt apps just look awful when in the wrong context.

  4. #4

    Default Re: QT apps appearance under GNOME

    Works for me with this repo:

    Index of /repositories/KDE:/Qt/openSUSE_11.2

  5. #5

    Default Re: QT apps appearance under GNOME

    Seems to work here as well after I changed the setting to "GTK+" in Qt Config (it updates Qt to 4.6 from 4.5 as well, although I don't know what benefit that gives). Now, if only a) someone had said that in the ticket in the month since I posted it and b) I didn't need yet another repo installed.

    Oh well, at least my Qt apps will look reasonable now rather than being hideously KDE-ish in style

  6. #6

    Default Re: QT apps appearance under GNOME

    Thanks for the tip on the repository, it appears the GTK+ option only appears in Qt 4.6 as it was not there in my original Qt 4.5 hence why the upgrade is needed.

  7. #7

    Default Re: QT apps appearance under GNOME

    If you read the ticket linked from the other thread then it seems like it is a build-time option, not a version thing. Qt 4.4 had the separate "GTK style" for Qt, but 4.5 moved the code in to the main source tree as an optional build-time component. The problem is that openSUSE 11.2 disables it at build-time, so the default Qt doesn't support GTK themes. The difference with the 4.6 repo is that it has been built with the GTK option enabled.

  8. #8

    Default Re: QT apps appearance under GNOME

    Thanks for the explanation IBBoard, one further question though is that I updated all my Qt libraries from that repository, set the Qt4 GUI Style to GTK+ yet my QT applications still look they are running under KDE with rounded buttons, blue highlights, etc. Am I missing a step as I did the upgrade using the software manager in YAST and when I search on qt4 in the Installed section everything was 4.6.0-77.2 as expected.

    I've tried rebooting as well but no difference there.

  9. #9

    Default Re: QT apps appearance under GNOME

    All I did was add the repo, run up "Install Software", switch to "repositories" view, select the Qt repo, install everything (and resolve a couple of dependency issues by telling it to switch installed versions), run Qt Config, change from Clearlooks to GTK+, click File > Save and File > Quit, then run up Qwit (the main Qt app I use) and it used my GTK theme.

    (Well, actually, I installed the Qt updates, ran Qwit, didn't see a change, then realised I might need to check Qt config, which fixed it )

  10. #10

    Default Re: QT apps appearance under GNOME

    Since I'm a bit stumped as to what the issue is, I installed Qwit just to try to duplicate your results IBBoard. Qwit appears to use the GTK+ style and looks great on my system as it matches the Gnome style just fine. However the other two KDE applications I use, Krita and Umbrello, still look like ****. I was thinking maybe it was a Qt3 versus Qt4 issue so I explicitly ran the Qt3 version of qtconfig and changed it's GUI style but this wasn't reflected in those two applications.

    I'm wondering if there is a KDE utility (like KControl) that you would need to run to change the style of these applications?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •