mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 20:00:51 -05:00
Help: ifw.rst: Add toc; mv "Hints" section -> subsection of "Variables"
Also explain `@ApplicationsDir@`, thanks to https://discourse.cmake.org/t/647/2 for help.
This commit is contained in:
committed by
Brad King
parent
c671966c20
commit
b3f4d50348
+32
-26
@@ -3,6 +3,10 @@ CPack IFW Generator
|
|||||||
|
|
||||||
Configure and run the Qt Installer Framework to generate a Qt installer.
|
Configure and run the Qt Installer Framework to generate a Qt installer.
|
||||||
|
|
||||||
|
.. only:: html
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
Overview
|
Overview
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
@@ -20,32 +24,6 @@ The :module:`CPackIFW` module looks for the location of the
|
|||||||
QtIFW command-line utilities, and defines several commands to
|
QtIFW command-line utilities, and defines several commands to
|
||||||
control the behavior of this generator.
|
control the behavior of this generator.
|
||||||
|
|
||||||
Hints
|
|
||||||
^^^^^
|
|
||||||
|
|
||||||
Generally, the CPack ``IFW`` generator automatically finds QtIFW tools,
|
|
||||||
but if you don't use a default path for installation of the QtIFW tools,
|
|
||||||
the path may be specified in either a CMake or an environment variable:
|
|
||||||
|
|
||||||
.. variable:: CPACK_IFW_ROOT
|
|
||||||
|
|
||||||
An CMake variable which specifies the location of the QtIFW tool suite.
|
|
||||||
|
|
||||||
The variable will be cached in the ``CPackConfig.cmake`` file and used at
|
|
||||||
CPack runtime.
|
|
||||||
|
|
||||||
.. variable:: QTIFWDIR
|
|
||||||
|
|
||||||
An environment variable which specifies the location of the QtIFW tool
|
|
||||||
suite.
|
|
||||||
|
|
||||||
.. note::
|
|
||||||
The specified path should not contain "bin" at the end
|
|
||||||
(for example: "D:\\DevTools\\QtIFW2.0.5").
|
|
||||||
|
|
||||||
The :variable:`CPACK_IFW_ROOT` variable has a higher priority and overrides
|
|
||||||
the value of the :variable:`QTIFWDIR` variable.
|
|
||||||
|
|
||||||
Internationalization
|
Internationalization
|
||||||
^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -161,6 +139,8 @@ Package
|
|||||||
Default target directory for installation.
|
Default target directory for installation.
|
||||||
By default used
|
By default used
|
||||||
"@ApplicationsDir@/:variable:`CPACK_PACKAGE_INSTALL_DIRECTORY`"
|
"@ApplicationsDir@/:variable:`CPACK_PACKAGE_INSTALL_DIRECTORY`"
|
||||||
|
(variables embedded in '@' are expanded by the
|
||||||
|
`QtIFW scripting engine <https://doc.qt.io/qtinstallerframework/scripting.html>`_).
|
||||||
|
|
||||||
You can use predefined variables.
|
You can use predefined variables.
|
||||||
|
|
||||||
@@ -294,6 +274,32 @@ These variables are cached, and may be configured if needed.
|
|||||||
|
|
||||||
The path to ``devtool``.
|
The path to ``devtool``.
|
||||||
|
|
||||||
|
Hints for Finding QtIFW
|
||||||
|
"""""""""""""""""""""""
|
||||||
|
|
||||||
|
Generally, the CPack ``IFW`` generator automatically finds QtIFW tools,
|
||||||
|
but if you don't use a default path for installation of the QtIFW tools,
|
||||||
|
the path may be specified in either a CMake or an environment variable:
|
||||||
|
|
||||||
|
.. variable:: CPACK_IFW_ROOT
|
||||||
|
|
||||||
|
An CMake variable which specifies the location of the QtIFW tool suite.
|
||||||
|
|
||||||
|
The variable will be cached in the ``CPackConfig.cmake`` file and used at
|
||||||
|
CPack runtime.
|
||||||
|
|
||||||
|
.. variable:: QTIFWDIR
|
||||||
|
|
||||||
|
An environment variable which specifies the location of the QtIFW tool
|
||||||
|
suite.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The specified path should not contain "bin" at the end
|
||||||
|
(for example: "D:\\DevTools\\QtIFW2.0.5").
|
||||||
|
|
||||||
|
The :variable:`CPACK_IFW_ROOT` variable has a higher priority and overrides
|
||||||
|
the value of the :variable:`QTIFWDIR` variable.
|
||||||
|
|
||||||
|
|
||||||
Online installer
|
Online installer
|
||||||
^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
Reference in New Issue
Block a user