Summary: | class store generators use wrong directories for KDE and QT | ||
---|---|---|---|
Product: | [I don't know] kde | Reporter: | Eike Welk <eike.welk> |
Component: | general | Assignee: | Amilcar do Carmo Lucas <amilcar> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | bastian |
Priority: | NOR | ||
Version: | 3.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Eike Welk
2004-02-07 15:51:58 UTC
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. |