@akshay123 Check http://doc.qt.io/qt-5/qtscript-index.html "Default Conversion from Qt Script to C++" chapter.
An Array will be QVariantList not a C++ array.