I tried copy content of one vector to a QVector using the following
QVector
std::copy(source.begin(), source.end(), dest.begin());
However
'fromStdVector' has been explicitly marked deprecated recently. Use following code:
std::vector<...> stdVec; // ... QVector<...> qVec = QVector<...>(stdVec.begin(), stdVec.end());