Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.7.0
-
None
-
-
c16a3e5ad (dev), f5f99985b (6.7), 66b4f3262 (tqtc/lts-6.5)
Description
Send array from c++ to qml like below, it's OK
std::vector<std::vector<int> > getDataFromCPP2QML();
but, if send array from qml to c++ like this:
void setDataFromQML2CPP(const std::vector<std::vector<int> > array);
Array in qml is: [ [1, 2, 3], [4, 5] ]
but in CPP, it will be: [ [1, 2, 3], [1, 2, 3, 4, 5] ], data duplication