[Qt-interest] Strange QT Segment Error

zjx918 zjx918 at sina.com
Fri Oct 23 13:04:28 CEST 2009


Hi, Christian
  I created the form with QT creator and then generated  the .cpp file and .h file using the UIC command. So it is hardly possible that i missed the NEW operator.
 Best Regards


2009-10-23 



zjx918 



发件人: Christian_D鰎ing 
发送时间: 2009-10-23  16:00:27 
收件人: zjx918 
抄送: 
主题: Re: [Qt-interest] Strange QT Segment Error 
 
zjx918 schrieb:
> HI
>  While i run my compiled program under Linux, the prgroam crashed with
> the information "Segment error". I debuged it using gdb and found that
> the program stopped at the following lines:
>  
>     lbxmachine = new QListBox( privateLayoutWidget_4, "lbxmachine" );
>     layout23->addWidget( lbxmachine );
>  
> But i don't think this line has any  problem.
>  
>  
>  
> 2009-10-23
> ------------------------------------------------------------------------
> zjx918
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>   
Hi,
Are privateLayoutWidget_4 and  layout23 initialized correctly, e.g. you
created them with new?
Regards
    Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091023/439b1c53/attachment.html 


More information about the Qt-interest-old mailing list