[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KConfig
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-10-21 16:50:12
[Download RAW message or body]

On Saturday 21 October 2000 16:42, Albert Chin-A-Young wrote :
>On Sat, Oct 21, 2000 at 10:26:34AM +0200, Stephan Kulow wrote:
>> Albert Chin-A-Young wrote:
>> > 
>> > I'm trying to set up the rPaths entry for the kview config file. kview
>> > uses kimageio to load the image files depending on the type of graphic
>> > being loaded. kimageio.cpp has the following function:
>> > 
>> > KImageIOFormat::KImageIOFormat( const QString &path)
>> >   : KSycocaEntry(path)
>> > {
>> >    bLibLoaded = false;
>> >    mReadFunc = 0;
>> >    mWriteFunc = 0;
>> >    KConfig config(path, true, false);

Because of the "false" as third argument here, the merging with
kdeglobals is disabled - mainly for performance reasons.

>Ok, here's what I did. By adding some debug statements to
>kconfigbase.cpp, running kview causes [kde
>prefix]/share/services/tiff.kimgio to be read. If I add:
>  rPaths=[kde prefix]/lib
>to this file under the section '[Image Format]', then the rPaths
>variable above gets the value '[kde prefix]/lib' which is then passed
>to lt_dladdsearchdir.

What's wrong with editing the .kimgio files then ?

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://www.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2


>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic