[mythtv] Strange behaviour in QT's QValueVector

Anduin Withers awithers at anduin.com
Thu Mar 23 06:08:17 UTC 2006


> I was wondering if anybody seen this kind of sittuation before.
> I am trying to switch the vectors to QTValueVectors n the
> myththemedmenu. If I just replace the declarations (replace vector
> with QValueVector) I get this error for every push_back in the source.
> If I use pointers as the vector's objects, the error does not appear,
> but otoh it segfaults on a

You want a vector of pointers, QWidgets can't be copied (what you'd need for
a value vector).

Why are you replacing them? (replacing isn't exactly the right term as a
std::vector in the same place would fail as well)

-- 
Anduin Withers



More information about the mythtv-dev mailing list