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