Scripting API | Qt Installer Framework Manual

Qt Installer Framework Manual | Scripting API

Tools ◦ C++ API

# Scripting API

The following table summarizes the global JavaScript objects that you can use in controller and component scripts.

QDesktopServices | Provides methods for accessing common desktop services
QFileDialog | Provides a dialog that allows users to select files or directories
QInstaller | Provides access to the installer status and pages from Qt Script
QMessageBox | Provides a modal dialog for informing the user or asking the user a question and receiving an answer
buttons | Provides buttons that can be used on installer pages
component | Represents the current component that the Qt Script belongs to
console | Provides methods for logging and debugging
gui | Enables interaction with the installer UI
installer | Provides access to core functionality of the Qt Installer Framework
print | Provides compatibility with QtScript
systemInfo | Provides information about the operating system

Tools ◦ C++ API