QString list2 = "1,4,6,9";
QScriptValueList args3; //调用js方法时传入的参数
args3 << list2;
QScriptValue func3;
func3 = engine.globalObject().property("addNums"); //调用js方法
result3 = func3.call(QScriptValue(), args3).toString();
qDebug() << "result3:" << result3;