Save list of QVariantList(which has came from QT) into global variable in QML



  • Hi,
    I am sending list of QVariantList to qml as a single variable and i get this list correctly in qml. But when i want to save this list in a global variable in qml i have a problem . It won't save as list and it seems that it converts to a single variable. How can i save it as a array or list in qml which is 2D????
    I have defined my property in qml as follows:
    property variant pAlarmsList : [];

    I am using Qt 5.1 and QTQuick 2.1


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.