Closed shikoku1 closed 2 years ago
As of #37, sendData for an object aggregated datastream was accepting only QList<QVariant> for array types, with this patch every QList<T> that can be automatically converted to QList<QVariant> is accepted
sendData
QList<QVariant>
QList<T>
data["..."] = QVariant::fromValue<QList<QString>>({ QString("te"), QString("st") }); data["..."] = QVariant::fromValue<QList<int>>( { 20, 21 } ); data["..."] = QVariant::fromValue<QList<QString>>({ QString("ml"), QString("kg") }); m_sdk->sendData("...", data, QDateTime::currentDateTime());
As of #37,
sendData
for an object aggregated datastream was accepting onlyQList<QVariant>
for array types, with this patch everyQList<T>
that can be automatically converted toQList<QVariant>
is accepted