nsis module contains properties and rules for building EXE installers for Windows using the Nullsoft Scriptable Install System.
This module is available on all platforms.
Note: A typical NSIS script includes an OutFile command to set the filename of the generated installer executable. However, Qbs overrides any OutFile commands found in the script, and therefore, you must use the targetName property to set the filename.
|defines||stringList||1.2||List of preprocessor macros that get passed to the compiler. To set macro values, use the following syntax: |
|disableConfig||bool||1.2||Whether to disable inclusion of nsisconf.nsh. Generally you do not need to set this property.|
|enableQbsDefines||bool||1.2||Whether to define preprocessor macros corresponding to values from the project and product objects. When building a 64-bit package, the preprocessor variable |
|warningLevel||string||1.2||Severity of warnings to emit. The higher the level, the more warnings will be shown. The levels |
|compilerFlags||stringList||1.2||undefined||Additional flags for the NSIS compiler.|
|compressor||string||1.2||Compression algorithm used to compress files and data in the installer. Setting this property overrides any SetCompressor command in the NSI file being compiled. Possible values include: |
|version||string||1.2||The NSIS version. Consists of four numbers separated by dots, for instance "126.96.36.199".|
|versionMajor||int||1.2||The NSIS major version.|
|versionMinor||int||1.2||The NSIS minor version.|
|versionParts||list||1.2||The NSIS version as a list. For instance, NSIS version 188.8.131.52 would correspond to a value of |
|versionPatch||int||1.2||The NSIS patch level.|
|versionBuild||int||1.2||The fourth NSIS version number component.|
|toolchainInstallPath||path||1.2||determined automatically||NSIS installation directory. Determined by searching known registry keys and known installation paths until a match is found. This should not normally need to be changed.|
|compilerName||string||1.2||Name of the compiler binary. This should not normally need to be changed.|
|compilerPath||string||1.2||Directory where the compiler binary is located. This should not normally need to be changed.|
Relevant File Tags
|Tag||Auto-tagged File Names||Since||Description|
|1.2||This tag is attached to NSIS header files.|
|1.2||This tag is attached to NSIS script files.|
|-||1.2||The rule that creates the NSIS setup executable attaches this tag to its output artifact.|
|-||1.10||The rule that creates the NSIS setup executable will be dependent on artifacts with this tag.|
© 2017 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. Qt and 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.