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

Ori Lahav vbcrlf at gmail.com
Wed Jun 23 14:01:42 CEST 2010


Hello QTers,

I want to use a function that requests float* (array of float) as a
parameter. The problem is, the data in my program is stored in a linked list
of float. The only possible solution I could think of is copy the whole list
to a new array, but it is very expansive (my program uses this function a
lot).
Is there any other solution?

Thanks,
Ori.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100623/bef0dd80/attachment.html 


More information about the Qt-interest-old mailing list