[Bug 54488] New: Kdevelop puts the wrong includes when automatically creating subclasses

Barry Stokes barry at unholysoftware.co.uk
Tue Feb 11 17:20:05 UTC 2003


------- 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=54488     
           Summary: Kdevelop puts the wrong includes when automatically
                    creating subclasses
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at barney.cs.uni-potsdam.de
        ReportedBy: barry at unholysoftware.co.uk


Version:            (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          GCC 3.2.1 
OS:          Linux

(This is using KDevelop 3 alpha 3 (gideon) on KDE3.1 on a RH8 system, compiled from sources with GCC 3.2.1)

When using KDevelop to create a new class (Project->New Class), and you tell it to use a base class. If that base class has any capital letters in it, the Kdevelop will ignore this when putting the #include statement into the newly generated .h file. It just puts everything in in lower case. This then means that you have to go and modify each .h file that is produced this way.

For an example:
if I have a class GLWindow, and I tell KDevelop to create a new class with that as the base class, it puts #include "glwindow.h" instead of #include "GLWindow.h".




More information about the KDevelop-devel mailing list