Qt Installer Framework Examples

These examples illustrate how to use component scripts for customizing installers.

Change Installer UI Example

Using a component script to modify the installer UI.

Component Error Example

Using a component script to stop the installation if the components cannot be installed.

Dependency Solving Example

Using components' package.xml files to define dependencies and automatic dependencies between components.

Dynamic Page Installer Example

Using a component script and dynamic pages to build an installer.

Modify Extract Installer Example

Using the extract archive hook in a component script to modify the target path.

Online Installer Example

Using the repogen tool and the configuration file to set up an online installer.

Open ReadMe Example

Using a component script to add a check box for opening the readme file to the final installer page.

Quit Installer Example

Using a component script to quit an installer.

Register File Extension Example

Using a component script to register a filename extension on Windows.

Start Menu Shortcut Example

Using a component script to add an entry to the Windows Start menu.

System Information Example

Using the systemInfo API in a component script to check operating system version and bitness.

Translation Example

Using translations to localize installer pages and licenses.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. The Qt Company, Qt and their respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.