[Qt-creator] Fwd: Resize probelm

Yuvaraj R yuvaraj at ongobiz.com
Thu May 7 14:20:13 CEST 2009


 Hi

 Thanks for your reply..

I solved this issue


Thanks

Yuvaraj R

2009/5/7 Thorbjørn Lindeijer <thorbjorn.lindeijer at nokia.com>

> ext Yuvaraj R wrote:
> > Hi
> >
> >   I too using the Qt only.....
>
> "The Qt" indicates you're entirely confused about the difference between
> Qt and Qt Creator. Qt is the library your application is using, and Qt
> Creator is the application you're using to develop your application.
> Since you're having problems with the way you're using Qt, people are
> trying to point out that this list, which is about Qt Creator, is not
> the right place to ask your question.
>
> > I am trying to display the tweets in listview ....
> >
> > Please find my code in attachment.
>
> Next time, please don't include any object files in your archive.
> They're pretty big.
>
> To keep this Qt Creator related, I'll try to point out how Qt Creator
> can help you fix your application. I noticed you have two debug lines in
> your code:
>
>    qDebug(" before  the resize");
>     aTweet->resize( width , aTweet->size().height() );
>     qDebug(" After the resize");
>
> Qt Creator has nicer ways to debug code. Just run it in the debugger
> (F5) and wait for it to crash. Then go up the call stack to the
> interesting point in your code:
>
> http://img144.imageshack.us/img144/9020/debugging.png
>
> I've highlighted the important information for you. aTweet is a null
> pointer because you assigned the value of "t" to it, but you've never
> assigned anything to "t" (it is a null QPointer).
>
> Good luck!
>
> Bjørn
>
> --
> Thorbjørn Lindeijer
> Software Engineer
> Nokia, Qt Software
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090507/03e58fa8/attachment.html 


More information about the Qt-creator-old mailing list