I tried copy content of one vector to a QVector using the following
QVector
std::copy(source.begin(), source.end(), dest.begin());
However
If you are creating a new QVector with the contents of a std::vector you can use the following code as an example:
std::vector
std::vector stdVec; QVector qVec = QVector::fromStdVector(stdVec);