configure: Add note how to set CMake variable to help output

It seemed to be common, yet undocumented knowledge how to pass CMake
variables to configure / qt-configure-module.

Task-number: QTBUG-128424
Change-Id: I10e896402aa0a9e1add8746765bfcea955417ee1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 13e096b49ecd7d77ba8b43ee8ff58f7db05d9f6e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Joerg Bornemann 2024-08-29 16:24:27 +02:00 committed by Qt Cherry-pick Bot
parent e5ecbb846f
commit ba30932cdf

View File

@ -3,6 +3,9 @@ Usage: configure [options] [-- cmake-options]
This is a convenience script for configuring Qt with CMake. This is a convenience script for configuring Qt with CMake.
Options after the double dash are directly passed to CMake. Options after the double dash are directly passed to CMake.
Configure understands variable assignments like VAR=value on the command line.
These are passed to CMake as -DVAR=value.
Top-level installation directories: Top-level installation directories:
-prefix <dir> ...... The deployment directory, as seen on the target device. -prefix <dir> ...... The deployment directory, as seen on the target device.
[/usr/local/Qt-$QT_VERSION; qtbase build directory if [/usr/local/Qt-$QT_VERSION; qtbase build directory if