Qt KDE integration in kdereview.

Kevin Krammer kevin.krammer at gmx.at
Tue Nov 3 22:10:19 GMT 2009


On Tuesday, 2009-11-03, Olivier Goffart wrote:
> Le Tuesday 03 November 2009, Kevin Krammer a écrit :
> > On Tuesday, 2009-11-03, Olivier Goffart wrote:

> > > Qt tries already to make KDE (and GNOME) as much as it can. For
> > > instance, we try to guess the KDE style and the
> > > KDE palette from the KDE config files.   This however not 100%
> > > reliable: For instance, we do not know the location of KDEHOME (when
> > > $KDEHOME is not set). Is it ~/.kde or ~/.kde4 or other? We use
> > > QSettings to parse the KDE config file (which does not understand every
> > > KDE tricks)
> >
> > KDEHOME is easy: $HOME/.kde is not set
> > http://techbase.kde.org/KDE_System_Administration/Environment_Variables#K
> >DE HOME
> 
> No.  Some distribs change the default to .kde4 (there is a cmake flag to
> change it, and it can be set to anything)

You mean they change the default but forget to apply the same change to Qt?

Maybe startkde could set KDEHOME to localprefix if it is not set yet?

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20091103/c2f94c8a/attachment.sig>


More information about the kde-core-devel mailing list