starting a kde4 app that's not installed in the same place as the rest of kde4?

Boudewijn Rempt boud at valdyas.org
Sat Feb 16 19:38:28 GMT 2008


Hi,

I'm trying to develop koffice against the opensuse kde4.1 packages. I want to 
install koffice in /home/boud/kde/inst; opensuse installs into /usr. I think 
I've got all my settings right, but unless I put the full path to the part 
libraries in the .desktop libraries, I get the following output:

boud at valdiesali:~/kde/src/koffice> krita
krita(7896)/koffice (lib komain) 
KoDocument::readNativeService: "kritapart.desktop"  found.
krita(7896)/koffice (lib komain) KoDocumentEntry::createDoc: "Library not 
found"

My settings:

KDEDIR=/home/boud/kde/inst
KDEDIRS=/home/boud/kde/inst:/usr
KDEHOME=/home/boud/.kde4
KDETMP=/tmp/boud-kde4
LD_LIBRARY_PATH=/home/boud/kde/inst/lib:/home/boud/kde/inst/lib/kde4:

These settings are basically the same as I had when I was working with a 
home-compiled kde4 -- and back then it worked.

If I change the 

X-KDE-Library=libkritapart

line in kritapart.deskop top

X-KDE-Library=/home/boud/kde/inst/lib/kde4/libkritapart

and run kbuildsycoca4, everything works.

I'm no longer sure this is a problem with my configuration... Could the 
problem be in klibloader?

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi




More information about the kde-core-devel mailing list