[Bug 56726] Crash creating new class or file

Steven T. Hatton hattons at globalsymmetry.com
Thu Apr 3 04:19:02 UTC 2003


On Wednesday 02 April 2003 11:08 am, Caleb Tennis wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=56726
>
>
>
>
> ------- Additional Comments From caleb at aei-tech.com  2003-04-02 18:08
> ------- Does the following patch help? (on /lib/util/filetemplate.cpp)
>
> Index: filetemplate.cpp
> ===================================================================
> RCS file: /home/kde/kdevelop/lib/util/filetemplate.cpp,v
> retrieving revision 1.10
> diff -u -3 -p -r1.10 filetemplate.cpp
> --- filetemplate.cpp    25 Feb 2003 10:46:31 -0000      1.10
> +++ filetemplate.cpp    2 Apr 2003 16:05:59 -0000
> @@ -96,7 +96,7 @@ QString FileTemplate::fullPathForName(KD
>      if (p!=Default) return name;
>
>      // first try project-specific
> -    QString fileName = (part->project()->projectDirectory() +
> "/templates/" + name); +    QString
> fileName(part->project()->projectDirectory() + QString("/templates/") +
> name); if (QFile::exists(fileName)) return fileName;
>
>      // next try global

I don't know exactly what fixed this.  It was probably my compiling against 
3.1.1 release rather than the CVS of KDE.  I've been wanting to do that for a 
while, but I couldn't get it to work untill I figured out the secret to 
getting KDE and QT in sync.  I finally took the time to read up on 
recompiling the rpms from SuSE.  Fortunately the QT and KDE didn't give me 
the fits that others have.  Now that I have kdelibs compiled against my own 
compile of SuSE's rpms, I am able to build Gideon using a 'standard' setup, 
and everything is working.

Thanks for the help.

STH 




More information about the KDevelop-devel mailing list