QVector::fromStdVector() copies the data from the standard vector, so alignment will not be preserved.

I'd be inclined to use std::vector with a custom allocator myself. Something along these lines: http://stackoverflow.com/questions/2...-for-stdvector