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.

Pick-to: 6.8
Task-number: QTBUG-128424
Change-Id: I10e896402aa0a9e1add8746765bfcea955417ee1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Joerg Bornemann 2024-08-29 16:24:27 +02:00
parent 1017a0eaf1
commit 13e096b49e

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