[Qt-interest] Issue in appending QList Variable
Mehmet İpek
mhmtipek at gmail.com
Thu May 7 13:00:56 CEST 2009
try like this:
typedef struct{
QString strName;
} stlistData;
stlistData obj;
obj.strName = "XYZ";
QList<stlistData> liststr;
liststr.append(obj);
this must work.
2009/5/5 Andreas Pakulat <apaku at gmx.de>
> On 05.05.09 17:28:18, Kamakshi Sivaraman wrote:
> > Hi,
> >
> > But the code is not working properly.
>
> Then post a complete compilable example that reproduces the problem instead
> of just a snippet. The snippet is correct, however there might be an issue
> somewhere else in your code that causes the problem.
>
> Andreas
>
> --
> Perfect day for scrubbing the floor and other exciting things.
> _______________________________________________
> 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/20090507/30e61ec5/attachment.html
More information about the Qt-interest-old
mailing list