startkde script has some qt4 relics
Treeve Jelbert
treeve at scarlet.be
Sun Sep 21 16:53:47 UTC 2014
startkde has the following code:
# in case we have been started with full pathname spec without being in PATH
bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'`
if [ -n "$bindir" ]; then
qbindir=`qtpaths --binaries-dir`
qdbus=$qbindir/qdbus
case $PATH in
$bindir|$bindir:*|*:$bindir|*:$bindir:*) ;;
*) PATH=$bindir:$PATH; export PATH;;
esac
else
qdbus=qdbus
fi
There are two problems with this
1. qdbus is a relic of qt4
2. qtpaths fails if qtbase is not installed to a system default path.
How do I set the appropriate path before starting Plasma5 from sddm using
/usr/share/xsessions/plasma.desktop?
In my case qt4 and qt5 are in different prefixes.
Regards, Treeve
More information about the Plasma-devel
mailing list