Kdevelop 3.4 svn: qmake manager (QT4), pointer not initialized

dariovecchio at tiscali.it dariovecchio at tiscali.it
Fri Oct 27 17:55:52 UTC 2006


Hi all,

in the Subroject Configuration Dialog if you modify something that add 
a new variable
and than press Apply or OK -> crash.
Example: for theSharedLib: Basic -> Target -> Output file: write some 
target name and press OK:
- if the TARGET variable was already present in .pro file -> no 
problem
- if the TARGET variable was not already present in .pro file -> crash
Same behavior if you have CONFIG += ... but don't have CONFIG -= ... 
in your .pro file:
unchecking some Configuration -> Requirements should generate CONFIG -
= ...,  but crash.
The .pro file is then lost.

Possible solution:

the pointer

     // qmakeast.h, 178
     QMake::AST* commentnode;  

is not initialized in the constructor.

This can result in using invalid pointer at qmakeast.cpp, 127

Add:

    commentnode = NULL;

in the constructor of class AssignementAST

Dario


Naviga e telefona senza limiti con Tiscali     
Scopri le promozioni Tiscali adsl: navighi e telefoni senza canone Telecom

http://abbonati.tiscali.it/adsl/





More information about the KDevelop-devel mailing list