作者:欧阳聪2502931613 | 来源:互联网 | 2023-08-16 11:05
手册原文:HybridC++/script:C++applicationcodeconnectsasignaltoascriptfunction.Thisapproac
手册原文: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的槽