PDA

View Full Version : KDE 3 style applied to Qt 4 programs


alecs1
10th December 2007, 23:25
Is there an easy way to 'force' the KDE 3 style chosen for my desktop to Qt 4 programs? It doesn't bother me to write some (not too much) code in my program to make it look like the rest of the programs.

(I have to some GTK+ stuff for school and the Gtk/Qt engine got me by surprize, my GTK+ 2 program had the KDE style buttons :p )

wysota
11th December 2007, 00:20
No, it's not possible. Qt3 and Qt4 style API differs very much. But you should be able to force a KDE4 style on a Qt4 app.

wysota
22nd July 2008, 22:52
There is no way around it - you can't style Qt4 apps with Qt3 styles without rewriting them for Qt4.