[Qt-interest] QList, copy problems
ross at earz.ca
ross at earz.ca
Sat Oct 15 10:38:44 CEST 2011
> Hi,
> I am having trouble with an application that uses QLists to store pointers
> to objects (QList<QObject*>) . I want to store the original list in
> another qlist which I am not able to. Any inputs will be appreciated. If
> I use operator= any modifications to the original list( after initializing
> ) is causing a crash!!!
>
Not much information to go on, but by your problem description it might (I
emphasize 'might') be you need a deep copy when you are doing a shallow
copy.
More information about the Qt-interest-old
mailing list