[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 112263] Custom Makefiles Project BROKEN in many aspects.
From: kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date: 2006-02-05 21:12:32
Message-ID: 20060205211232.11546.qmail () ktown ! kde ! org
[Download RAW message or body]
------- 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=112263
------- Additional Comments From kkk86 web de 2006-02-05 22:12 -------
> Add/Remove files to/from project simply doesnt work, and is ignored. I'm >forced to \
> delete the project.filelist and let kdevelop crete everything from >scratch every \
> time.
I can confirm this for files which are generated by the new class wizard in the \
project directory. The reason is that the files are added with a leading / to the \
filelist. A correction is attached below.
> Set Active directory is also ignored, doesnt work.
See Bug 121332 for correction.
> Because of the above, the Class Wizard doesnt work either, it always generates \
> >files on the root folder.
See Bug 121332 for correction.
> New File dialog also fails to set the active directory
The new file dialog uses the active directory as default. But I don't know whether it \
is supposed to change the active directory by the new file dialog.
Index: languages/cpp/cppnewclassdlg.cpp
===================================================================
--- languages/cpp/cppnewclassdlg.cpp (revision 503276)
+++ languages/cpp/cppnewclassdlg.cpp (working copy)
@ -2044,8 +2044,14 @
QStringList fileList;
- fileList.append ( project->activeDirectory() + "/" + header );
- fileList.append ( project->activeDirectory() + "/" + implementation );
+ if ( !project->activeDirectory().isEmpty() ){
+ fileList.append ( project->activeDirectory() + "/" + header );
+ fileList.append ( project->activeDirectory() + "/" + implementation \
); + }else{
+ fileList.append ( header );
+ fileList.append ( implementation );
+ }
+
project->addFiles ( fileList );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic