[bt-devel] bt-static

Joachim Ansorg bt-devel@crosswire.org
Mon, 28 May 2001 15:18:55 +0200


Hi Brook!

> > Joachim told me that for example there may be problems with the
> > kfiledialog because it tries to open a mimetype-database from the kde
> > directory, but he was not sure about what really happens at runtime.
> > Maybe there are other issues like this? This might be a simple problem:
> > we could just use #ifdef DSTATIC and use a qfiledialog instead of a

KDE uses the KSYCOCA (= K System COnfiguration Cache ) stored on the local 
disk. The program kbuildsyscoca, which has to be installed.
If the databse is not availble there may be problems, I'm not sure.

> > You could use a kde system for testing. Just rename the kde (1 and 2)
> > dirs, the qt dir, $home/.kde and $home/.kde2 and unset $KDEDIR(S) and
> > kfiledialog.

The define should be STATIC_BUILD. I'll add a configure option for this.

> kfile is compiled in as static so this should not be a problem
> > $QTDIR.
>
> what whould be the exact commands here? Log into gnome and type
> KDEDIR=/opt/null
> QTDIR=/opt/null

Not really. If you compiled KDE2 with the configure option --prefix=<some 
prefix> the libs do also look there even if KDEDIR or KDEDIRS are empty.
That's why you have to move your KDEDIR away.

Brook,. you submitted a bug report on SourceForge with some example images. 
The URL you wrote at the end of the report is invalid. What's the right one?



Joachim