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
Qt Script Tools is available under commercial licenses from Qt 公司 。此外,它在自由軟件許可下也是可用的。從 Qt 5.4 起,這些自由軟件許可是 GNU LGPL (次一般公共許可) 第 3 版 ,或 GNU GPL (一般公共許可) 第 2 版 。見 Qt 許可 進一步瞭解細節。