You are not logged in.

#1 2008-09-24 04:57:16

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Gtk -> Qt

How do I get my GTK apps to take on the look of my QT theme when I'm using KDE 4?

Offline

#2 2008-09-24 05:09:24

Statix
Member
From: Hangzhou, China
Registered: 2008-02-16
Posts: 240

Re: Gtk -> Qt

The gtk-qt-engine should do it, but I'm not sure whether it works for KDE4.


Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.

Offline

#3 2008-09-24 06:29:09

hBd
Member
From: Romania - Cluj Napoca
Registered: 2008-06-08
Posts: 241
Website

Re: Gtk -> Qt

there is a gtk-qt engine in kdemod4 and should work fine, it works for me at least neutral

Offline

#4 2008-09-24 08:44:43

hk2717
Member
From: China
Registered: 2007-09-13
Posts: 217

Re: Gtk -> Qt

As far as I know, there are two ways to achieve this.
1. Using same looking themes for QT and GTK. For example, Oxygen or Qtcurve. This is the safe way but not flexible. You cannot change the color scheme of the GTK theme.
2. Using theme engines that automatically applies your QT theme to GTK. There is qt-gtk-engine, as mentioned above, as well as gtk-kde4. qt-gtk-engine seems more powerful but I am not sure. It has more options in its config page and much more dependencies which I hate. gtk-kde4 is in the AUR. This is the more flexible way, in which you can apply the QT color scheme to GTK apps, and works with any QT theme. However, you should expect many small quirks, especially with dark color schemes.

Last edited by hk2717 (2008-09-24 08:50:32)

Offline

#5 2008-09-24 10:37:17

NoOneImportant
Member
From: Deep Southern California
Registered: 2007-02-13
Posts: 178

Re: Gtk -> Qt

most accurate method, in my opinion, is qtcurve

Offline

#6 2008-09-24 21:22:17

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: Gtk -> Qt

hk2717 wrote:

1. Using same looking themes for QT and GTK. For example, Oxygen or Qtcurve. This is the safe way but not flexible. You cannot change the color scheme of the GTK theme.

Depends what you mean by that. As far as I know, the GTK Oxygen theme is pixmap-based, so the colours are fixed no matter what you do with KDE. But while you can't change GTK QtCurve's colours independently of the Qt version, it will always use the ones set in KDE, just as if all your GTK apps were really KDE ones. Which is the object of the excercise, after all.

It's still pretty inflexible because you're stuck with one theme (although QtCurve is very configurable), but it can use whatever colours you like.


0 Ok, 0:1

Offline

#7 2008-09-25 06:01:14

hk2717
Member
From: China
Registered: 2007-09-13
Posts: 217

Re: Gtk -> Qt

dunc wrote:
hk2717 wrote:

1. Using same looking themes for QT and GTK. For example, Oxygen or Qtcurve. This is the safe way but not flexible. You cannot change the color scheme of the GTK theme.

Depends what you mean by that. As far as I know, the GTK Oxygen theme is pixmap-based, so the colours are fixed no matter what you do with KDE. But while you can't change GTK QtCurve's colours independently of the Qt version, it will always use the ones set in KDE, just as if all your GTK apps were really KDE ones. Which is the object of the excercise, after all.

It's still pretty inflexible because you're stuck with one theme (although QtCurve is very configurable), but it can use whatever colours you like.

Thanks for the correction! I have not tried out Qtcurve that much but I will definitely give it a shot when I get bored with Oxygen.:lol:

Offline

Board footer

Powered by FluxBB