[Qt-interest] Strange QT Segment Error
Raja Rokkam
rokkamraja at gmail.com
Fri Oct 23 13:14:11 CEST 2009
Can you tell us what all new code you have added to the generated .cpp and
.h files ?
On Fri, Oct 23, 2009 at 4:34 PM, zjx918 <zjx918 at sina.com> wrote:
> 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öring
> *·¢ËÍʱ¼ä£º* 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
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091023/0085158a/attachment.html
More information about the Qt-interest-old
mailing list