[mythtv] Strange behaviour in QT's QValueVector

florin baiduc florinbaiduc at gmail.com
Thu Mar 23 06:04:53 UTC 2006


Sorry, that didn't do it..
it has errors on the declaration like this:

/usr/lib/qt-3.3/include/qvaluevector.h: In instantiation of
'QValueVector<const ThemedButton&>':
myththemedmenu.cpp:202:   instantiated from here
/usr/lib/qt-3.3/include/qvaluevector.h:236: error: forming pointer to
reference type 'const ThemedButton&'
/usr/lib/qt-3.3/include/qvaluevector.h:237: error: forming pointer to
reference type 'const ThemedButton&'
/usr/lib/qt-3.3/include/qvaluevector.h:238: error: forming pointer to
reference type 'const ThemedButton&'
/usr/lib/qt-3.3/include/qvaluevector.h:239: error: forming pointer to
reference type 'const ThemedButton&'

Thanks for trying...


On 3/23/06, tj <htpc at treblid.dyndns.org> wrote:
>
> ...
> QValueVector<ThemedButton> buttonList;
> ...
> I'm shooting in the dark, but try the following and see if it works?
>
> try QValueVector< const ThemedButton & >
>
>
> Regards,
> Tj
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>
>


More information about the mythtv-dev mailing list