QScriptEngine m_scriptEngine;
setObjectName("cscripi");
QScriptValue objValue = m_scriptEngine.newQObject(this);
m_criptEngine.globalObject().setProperty(objectName(),objValue);
//脚本执行入口函数名为start()
m_criptEngine.evaluate("start()");