Running Qt/E programs (was: Question in compiling konq/e)

Paul Chitescu konq-e@mail.kde.org
Mon, 28 Oct 2002 14:33:59 +0200


> [...]
> Then I launched konq/e in konsole, but there are errors:
> "error while loading shared libraries:
> libqte.so.2: cannot load shared object file:
> No such file or directory"
>
> Can anyone help me?

The Qt/Embedded library is not in the library path. You must eiher add the
path in /etc/ld.conf and run ldconfig or set the LD_LIBRARY_PATH environment
variable.

Also remember you must set QTDIR so Qt will find its fonts.

Example from my konq-e starting script:

[paulc@WS1 target-i386-e]$ cat ks
#!/bin/sh

KDEDIR=/home/paulc/konq-e/usr QTDIR=/usr/src/qt-2.3.1
LD_LIBRARY_PATH=/usr/src/qt-2.3.1/lib:$LD_LIBRARY_PATH KIO_HTTP_USECACHE=1
KIO_HTTP_MAXCACHESIZE=1024 ./konq-embed/src/qstart
./konq-embed/src/konqueror --sysfont:Caliban:17::75 --statushide:0 $@


Paul