Hi,
You can convert your data array to floats and use QAudioOutput from QtMultimedia module to play the sound. You can inform QAudioOutput of the format of your data (sampling frequency, number of channels, data type, ...) via a QAudioFormat.

Hi,
something along the lines of the snippet below adapted from the "documentation":http://qt-project.org/doc/qt-5/qaudiooutput.html example should work. Note that I have not tested this so it may require some changes.
@
QVector<double> yourData;
QBuffer buffer;
float tmp = 0;
for(int i=0; i < yourData.count(); i++)
{
tmp = yourData[i];
buffer.write((char*) &tmp, 4);
}
buffer.seek(0);