The Qt Script Tools module provides a debugger that can be embedded into Qt applications that use Qt Script . The debugger enables the application user to inspect the state of the script environment and control script execution.
要包括模块类定义,使用以下指令:
#include <QtScriptTools>
要链接到模块,添加此行到
qmake
.pro
文件:
QT += scripttools