[Bug 168200] Incorrect color scheme in Qt4 applications, running in KDE4 environment

hoodedone at gmail.com hoodedone at gmail.com
Thu Dec 25 16:41:58 GMT 2008


http://bugs.kde.org/show_bug.cgi?id=168200





--- Comment #15 from hoodedone gmail com  2008-12-25 17:41:57 ---
I found it!  It's not a KDE bug at all!  Look at
<http://websvn.kde.org/trunk/qt-copy/src/gui/kernel/qapplication_x11.cpp?view=markup>
-- the function "kdeColor" (used for a few select color roles, including
selectBackground) tries to read "~/.kde/share/config/kdeglobals" for a few
select color roles.  On most systems, that's the KDE3 version of the file.

I just downloaded the latest Qt 4.5 snapshot, and it has the problem solved. 
I'm working on a patch to backport their fix.  I'll post it here once I've
tested it.

(In the meantime, the workaround that doesn't involve constantly re-editing
Trolltech.conf is to put the right colors in your KDE kdeglobals file.  Note
that you can't just copy the KDE4 version, because the names of the color roles
have changed.)


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list