Summary: | Crash creating new class or file | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Steven T. Hatton <hattons> |
Component: | file create | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 3.0.0a4 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Steven T. Hatton
2003-04-01 22:24:07 UTC
I don't know if anyone has tested this, but it's pretty much a show-stopper for me. Trying to work within the KDevelop framework without the ability to auto generate the basic source and header files that fit is too much of a challenge for a person at my stage of learning. I'll have to drop back to 2.5.1 until this is fixed. I'm will to be a crash dummy for some things, but this is more than I can handle. I'm really not trying to pester anybody by this addition, I'm just raising a flag regarding the severity of this bug from the beta tester's POV. I'd be more than happy to learn that the problem is on my end, and not in the code base. If the class wizard works for someone else, please let me know so I can trouble shoot it from this end. 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 This seems to be an installation error or project creation error. Try to reinstall kdevelop. Taking into account that Caleb's patch is applied to cvs I'm closing this bug. |