![]() Registered Member ![]()
|
Hello !
Is it possible to synchronize KDE3 style with the QT3 style config (qtconfig-qt3) ? Here is my problem : I want to use the QtCurve style for KDE3 apps and the GTK+ (QGtkStyle) style for KDE4 apps but I must set QtCurve KDE4 style in order to use QtCurve with KDE3 apps. If I choose GTK+ as KDE4 style, KDE3 apps looks like horrible default style and I don't know how to set QtCurve to KDE3 apps by hand (there isn't kcontrol anymore on Ubuntu like distribution and kcmshell style command returns : "kbuildsycoca running... Reusing existing ksycoca". Is there any ability to set QtCurve to KDE3 apps and GTK+ to KDE4 apps as I can set QtCurve to QT3 apps and GTK+ to QT4 apps ? Thank you very much in advance for your answers and have a nice day ! |
![]() Administrator ![]()
|
KDE 3 applications should in theory at least obey the Qt3 settings here, as they use the same configuration files to set the style. However, Qt3 and Qt4 applications may both try to use ~/.local/Trolltech.conf which could lead to conflicts.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
This is my ~/.config/Trolltech.conf :
|
![]() Registered Member ![]()
|
|
![]() Administrator ![]()
|
If you change the Qt3 style, is the line in ~/.config/Trolltech.conf labeled "style" under "[Qt]" changed? If so, then it appears that Qt3 and Qt4 conflict, and you will need to use a style which both have.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
If I change the QT3 style (qtconfig-qt3), the line in ~/.config/Trolltech.conf labeled "style" under "[Qt]" doesn't change. |
![]() Administrator ![]()
|
In this case, as long as the KDEHOME environment variable isn't set, you should be fine. Make sure to set the appropriate style in qtconfig-qt3, and in System Settings and KDE 3 and KDE 4 applications should obey those respective control panels.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
How to verify this, please ?
- qtconfig-qt3 : QtCurve style set. - qtconfig-qt4 : GTK+ style set. - kcmshell4 style : GTK+ style set - kcmshell style : QtCurve style set. But : - If I choose QtCurve through kcmshell style -> kcmshell4 style become QtCurve. - If I choose GTK+ through kcmshell4 style -> kcmshell style reset to B3/KDE... I don't know why ! ![]() |
![]() Administrator ![]()
|
To check for the setting of $KDEHOME, run "echo $KDEHOME" in Konsole.
If it is set, it explains the behaviour. Please use the Qt style management panels to set the style, as the two KDE setting modules are overwriting each other (which means the kdelibs from KDE 3 and KDE 4 were configured to use the same settings prefix....)
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
-> blank So, I think it isn't set. |
![]() Administrator ![]()
|
Ok, then it is probable that both KDE 3 and KDE 4 have been compiled to use ~/.kde/ for their settings. In order for this to work, they need to be set to use seperate directories (traditionally, ~/.kde and ~/.kde4 respectively)
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Should I recompile them to set them to use separate directories or is there another way to do this ? |
![]() Administrator ![]()
|
You should recompile them to use seperate directories. Traditionally, ~/.kde/ for KDE 3 and ~/.kde4 for KDE 4. As far as I know, no other way exists to do this.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thank you anyway ! ![]() |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]