[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 129846] New: Autotools project crash when adding new class to
From:       Ioan Marius Curelariu <johnnyboyro () yahoo ! com>
Date:       2006-06-26 12:41:59
Message-ID: 20060626144158.129846.johnnyboyro () yahoo ! com
[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=129846         
           Summary: Autotools project crash when adding new class to newly
                    created target
           Product: kdevelop
           Version: 3.3.3
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: johnnyboyro yahoo com


Version:           3.3.3 (using KDE KDE 3.5.3)
Installed from:    Gentoo Packages
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.17-gentoo

I tried with both kdevelop 3.3.3 and 3.3.91 and it is always reproductible.
In an autotools project
- add a subproject
- add a target for this subproject (I used a libtool library target)
- add a new class to this target (I did not made it default target)
You can see then the .cpp file correctly added to the libtool lib target, but there \
is no .h file shown. That is because the noinst_HEADER target is not shown. If you \
look to a different subproject and came back to this one, the application crashes (I \
think it is about refreshing the detail view of autotools widget).

I fixed it on my site by using the following:
--- buildtools/autotools/addsubprojectdlg.cpp.or	2006-06-26 13:48:40.000000000 +0300
+++ buildtools/autotools/addsubprojectdlg.cpp	2006-06-26 13:49:07.000000000 +0300
 @ -154,6 +154,8  @
         QTextStream stream(&f);
         stream << "INCLUDES = " << newitem->variables["INCLUDES"] << endl << \
"METASOURCES = AUTO" << endl;  f.close();
+	
+	m_subprojectView->findNoinstHeaders( newitem );
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic