[Qt-interest] Using a QList<float> as a float[] parameter

Sean Harmer sean.harmer at maps-technology.com
Wed Jun 23 15:04:29 CEST 2010


Hi,

On Wednesday 23 June 2010 13:36:57 Ori Lahav wrote:
> Hi Srdjan,
> This function is in an external library, can't change it.

OK then how about changing your code to use QVector<float> rather than 
QList<float> and then passing QVector<float>::data() to your external 
function? That should work.

Cheers,

Sean



More information about the Qt-interest-old mailing list