手册原文:Hybrid C++/script: C++ application code connects a signal to a script function. This approach is useful if you have a QObject but don't want to expose the object itself to the scripting environment. You just want to define how the script responds to a signal and leave it up to the C++ side of your application to establish the connection between the C++ signal and the JavaScript slot.
暂时没有理解到如何在c++端连接c++的信号与javascript的槽