You are not logged in.

#1 2008-11-06 23:17:33

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

Mixing GTK and QT apps

In a thread in the Off Topic section, iphitus speaks in favor of mixing GTK and QT apps.

I'm curious about this. Are there no downsides to mixing QT-based and GTK-based apps in a single installation? If I start a Gnome app in an otherwise KDE environment, is additional launch time the only downside other than the space taken on my hard disk by having two sets of supporting libraries? Are there other performance issues? How about conflicts due to toolkit differences (I'm beyond my limited expertise in posing the question, so somebody enlighten me, please)?


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#2 2008-11-07 01:54:09

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Mixing GTK and QT apps

gtk-qt-engine is slow... That's about the only downside I can really think of.

(QT4 itself also happens to be ass slow for me, but nobody else seems to be complaining about that, so I assume it's an issue with my hardware.)

Offline

#3 2008-11-07 03:04:37

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: Mixing GTK and QT apps

I find mixing pure GTK or QT apps no problem, other than having both libraries on your hard disk.

Mixing full blown KDE or gnome apps is different, because if starting a gnome app for example it usually starts up another  bunch of supporting processes and libraries that don't necessarily die when you close that app.

I don't use KDE or gnome enviroments (openbox ftw), and only use pure gtk and qt apps.  I just don't install any program that requires the full gnomelibs or kdelibs.

Offline

#4 2008-11-07 08:35:30

GERGE
Member
From: Turkey
Registered: 2008-09-29
Posts: 157
Website

Re: Mixing GTK and QT apps

I don't like mixing them. Pure Qt into my GTK is somewhat acceptable but a KDE ap with is libraries...

I don't like it. It does not slow my system or anything, I just don't like it smile

Offline

#5 2008-11-07 21:57:48

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: Mixing GTK and QT apps

Next major version of Qt will have qgtkstyle or whatever it is so it uses gtk to draw the widgets for qt apps in the gtk style. Even better than Klearlooks/Clearlooks

Edit: The key point being that it will be built in, not an extra

Last edited by alex_anthony (2008-11-08 17:33:23)

Offline

#6 2008-11-07 22:08:49

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Mixing GTK and QT apps

alex_anthony wrote:

Next major version of Qt will have qgtkstyle or whatever it is so it uses gtk to draw the widgets for qt apps in the gtk style. Even better than Klearlooks/Clearlooks

http://aur.archlinux.org/packages.php?ID=16964

Offline

#7 2008-11-07 22:19:18

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: Mixing GTK and QT apps

Are there no downsides to mixing QT-based and GTK-based apps in a single installation?

It's really a matter of personal preference - some like it and others don't.

I'm personally not a fan of mixing them due to some weird behavior that has always eventually managed to show itself after doing so.  You should mix it up a bit and decide for yourself.

Best of luck either way!


oz

Offline

#8 2008-11-07 22:28:18

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: Mixing GTK and QT apps

It's not a matter of liking or not. Although I use gtk mostly, some QT/KDE apps *are* better or have no replacment. E.g. VirtualBox, k3b, digikam, filelight, etc. Porting all QT/KDE apps to GTK is plain silly and wast of developer's time. The same is true for the other way around.

Offline

#9 2008-11-08 00:37:39

Renan Birck
Member
From: Brazil
Registered: 2007-11-11
Posts: 401
Website

Re: Mixing GTK and QT apps

There are some KDE apps I can't get rid of, even though I use Openbox, e.g. digiKam, k3b, Krusader...

I use qgtkstyle, but unfortunately some apps (e.g. qtiplot) are broken when I use it with a dark theme (i.e. they have clashing black-on-black).

Offline

#10 2008-11-08 03:03:54

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Mixing GTK and QT apps

Blah, I hate QT. Wish it would just disapear into the holy forgotten passage of /dev/null. Blargh.

Offline

#11 2008-11-08 04:46:16

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Mixing GTK and QT apps

I use GNOME as my desktop, but like some Qt apps. QGIS and Scribus are good examples of pure Qt apps that don't pull in tons of KDE deps. My only limitation is that I won't use an app if it requires KDE deps.

Offline

Board footer

Powered by FluxBB