PDA

View Full Version : Qt 4.5 not using Oxygen style in some cases



pawelprazak
10th February 2009, 18:45
Hi!

When I compile pure Qt4 application (Qt Demo Browser or Arora web browser)
with Qt 4.5 (compiled from trunk) or Qt 4.5-rc1 and run it under KDE 4.2
it doesn't use my KDE4 style, but I compile it with system Qt (4.4.3) it does.

Gnome styles seems to work fine, e.g ./arora -style=clearlooks,
but Oxygen does not work.
I know I need load style plugin/library (oxygen.so), but I don't know how to do it.
I also use Qt Creator and I have two versions 0.9.2-rc1 and snapshot compiled with Qt 4.5.0-rc1. Both use my KDE4 style.
I've been trying to find out how do they do it but with no luck so far. :confused:

I've searched the internet and this forum, as well as the documentation,
but I couldn't find anything relevant.
Could you give me a pointer to some useful resources or a hint? :)

My system:
Linux 2.6.27.7-9-default x86_64
openSUSE 11.1 (x86_64)
Qt: 4.4.3
KDE: 4.2.00 (KDE 4.2.0) "release 90.1"
Plasma Workspace: 0.3
x11-video-nvidiaG02-180.22-4.1
Shockwave Flash 10.0 d21 x86-64

Regards

pawelprazak
14th February 2009, 13:40
Follow up
http://www.qtcentre.org/forum/f-kde-programming-7/t-kde4-style-in-qt4-how-to-compile-kde4-style-in-qt-45-18610-post92678.html#post92678