I have a pointer to a memory area that contains 1 gigabyte double values. In order to show them on the graph I need to convert them to QVector:
void setData(const QVector<double> &keys, const QVector<double> &values, bool alreadySorted=false)
This is a problem because there is now an extra gigabyte of data in memory. Can I use a pointer in any way, do not create a copy for QVector to show it on the chart?
Thanks for any suggestions.