Running KDE4 apps from KDE3

Andras Mantia amantia at kde.org
Tue Apr 11 19:46:10 BST 2006


On Tuesday 11 April 2006 21:29, David Faure wrote:
> On Tuesday 11 April 2006 20:15, Andras Mantia wrote:
> > On Tuesday 11 April 2006 20:53, David Faure wrote:
> > > branches/work/kde4/setup-env does "mkdir -p $KDETMP" in addition
> > > to setting the environment variables, does it help if you do
> > > that?
> >
> > I use that script with "source setup-env". ;-) And it does not have
> > mkdir:
>
> Hmm, sorry, my older copy of it had it for some reason, guess it got
> removed.
>
> I think you have a kde3 program being launched then, either kdeinit
> or kded or kbuildsycoca. For me, typing kdeinit in the kde4
> environment says:
>
> [...]
> findExe(): returning /devel/kde/inst/kde4/bin/kbuildsycoca
> [...]
> kbuildsycoca running...
> DCOP: register 'anonymous-14805' -> number of clients is now 4
> kio (KSycoca): Trying to open ksycoca from
> /home/dfaure/.kde4/cache-Asterix/ksycoca Reusing existing ksycoca
> kbuildsycoca: Recreating ksycoca file
> (/home/dfaure/.kde4/cache-Asterix/ksycoca, version 100) [...]

Hm, look what is happening here:
andris at stein:/data/home/andris> source bin/setup-kde4-env
andris at stein:/data/home/andris> which kdeinit
/data2/kde4/install//bin/kdeinit
andris at stein:/data/home/andris> which kded
/data2/kde4/install//bin/kded
andris at stein:/data/home/andris> which kbuildsycoca
/data2/kde4/install//bin/kbuildsycoca
andris at stein:/data/home/andris> kdeinit
kdeinit: Shutting down running client.
kdeinit: Killing kdeinit/klauncher.
findExe(dcopserver, pstr, false) called
findExe(): relative path given
findExe(): returning /data2/kde4/install/bin/dcopserver
Could not load library! Trying exec....
kdeinit: Launched DCOPServer, pid = 13327 result = 0
---------------------------------
It looks like dcopserver is already running. If you are sure
that it is not already running, 
remove /home/andris/.DCOP4server_stein__0
and start dcopserver again.
---------------------------------

findExe(klauncher, pstr, false) called
findExe(): relative path given
findExe(): returning /data2/kde4/install/bin/klauncher
Could not load library! Trying exec....
kdeinit: Launched KLauncher, pid = 13328 result = 0
kdeinit: opened connection to :0.0
findExe(kded, pstr, false) called
findExe(): relative path given
findExe(): returning /data2/kde4/install/bin/kded
Could not load library! Trying exec....
kdeinit: Launched KDED, pid = 13329 result = 0
KDE Daemon (kded) already running.
Call to isApplicationRegistered returned:1
kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kbuildsycoca', ...)
kdeinit: Got EXT_EXEC 'kbuildsycoca' from launcher.
findExe(kbuildsycoca, pstr, false) called
findExe(): relative path given
findExe(): returning /data2/kde4/install/bin/kbuildsycoca
Could not load library! Trying exec....
kio (KLauncher): kbuildsycoca (pid 13331) up and running.
kbuildsycoca running...
kio (KSycoca): Trying to open ksycoca 
from /var/tmp/kdecache-andris/ksycoca
kio (KSycoca): WARNING: Found version 93, expecting version 100 or 
higher.
kio (KSycoca): WARNING: Found version 93, expecting version 100 or 
higher.
kbuildsycoca: Recreating ksycoca file (/var/tmp/kdecache-andris/ksycoca, 
version 100)

What does this mean:

findExe(): returning /data2/kde4/install/bin/klauncher
Could not load library! Trying exec....

?

Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060411/69fc213e/attachment.sig>


More information about the kde-core-devel mailing list