CPackIFW: Improve warning and docs for show page list option

This commit is contained in:
Craig Scott
2021-02-14 15:33:45 +11:00
parent 7ed7db88a4
commit d16830324f
2 changed files with 8 additions and 4 deletions

View File

@@ -111,9 +111,11 @@ Package
.. variable:: CPACK_IFW_PACKAGE_WIZARD_SHOW_PAGE_LIST
.. versionadded:: 3.20
Set to ``OFF`` if the widget listing installer pages on the left side of the wizard should not be shown.
Is ``ON`` by default.
It is ``ON`` by default, but will only have an effect if using QtIFW 4.0 or later.
.. variable:: CPACK_IFW_PACKAGE_TITLE_COLOR

View File

@@ -188,9 +188,11 @@ void cmCPackIFWInstaller::ConfigureFromOptions()
} else {
cmCPackIFWLogger(
WARNING,
"Option CPACK_IFW_PACKAGE_WIZARD_SHOW_PAGE_LIST is set to value \""
<< option << "\". But has no any effect for QtIFW less than 4.0 "
<< "and will be skipped." << std::endl);
"Option CPACK_IFW_PACKAGE_WIZARD_SHOW_PAGE_LIST is set to \""
<< option
<< "\", but it is only supported with QtIFW version 4.0 or later. "
"It is being ignored because you are using QtIFW version "
<< this->Generator->FrameworkVersion.data() << std::endl);
}
}