Version: 3.0.0 (using KDE 3.2 BRANCH >= 20040204, compiled sources) Compiler: gcc version 3.3 20030226 (prerelease) (SuSE Linux) OS: Linux (i686) release 2.4.20-4GB-athlon KDELibs PCS Importer and QT PCS Importer look at the wrong directories. I have to use the custom importer instead. The situation: I have two versions of QT and KDE installed (3.1.1 and 3.2), and I have two user accounts with different KDEDIR, QTDIR and LD_LIBRARY_PATH. Although these variables are set correctly, the specialized PCS importers pick up the wrong directories in the account that uses KDE 3.2. This also means everyting works perfectly for the KDevelop binary which is compiled with KDE 3.1.1. Bye, Eike.
Same problem on my LFS where KDE and QT are installed in non standard directories (/opt/kde-3.2.0 and /opt/qt-3.3.0). The only solution is to start kdevelop from konsole or to specify --with-qt-dir and --prefix in the project options. Fabien
This is a KDE bug and not a KDevelop bug.
Could please provide more details why this is a KDE and not a KDevelop bug. What methods do you use in KDevelop to retrieve the directory? KStandardDirs? It would be also interesting in what source file the corresponding code is. Christian
Saying that "the specialized PCS importers pick up the wrong directories" is a KDE bug is not really workable... for starters I have no idea what PCS importers are or where I can find the code for them.
The reason I say it's a KDE bug is because I use KDEDIRS in my bashrc file in order to have a couple of HEAD applications installed in my local account using the stable global KDE provided by the distro. Everithing works if I launch these applications from the konsole or if I lunch them via alt-F2. Whenever I lunch them from the kmenu somehow the old (stable) applications get called instead of the newer HEAD ones despite the fact that the new ones appear first in the $PATH and in $KDEDIRS. So It's a KDE bug to sometimes ignore the $KDEDIRS. Regarding the PCS code, it is on kdevelop/languages/cpp/pcsimporter
That's probably then because kdeinit gets launched from startkde and if it hasn't parsed .bashrc at that point it will not have $KDEDIRS set and none of the applications launched via kdeinit will have it set either. Set $KDEDIRS in xinitrc and you won't have this problem.
I added something about Waldo's comment #6 to the Wiki. Could someone knowledgeable have a look at http://wiki.kde.org/tiki-index.php?page=KDE+CVS+Step+by+Step#id785959 and see if it's OK?
Look's ok.