Add the description for the QT_ALLOW_DOWNLOAD option
Introduce QT_ALLOW_DOWNLOAD option that should be used the downloading of the resources from web in Qt builds. Calls like file(DOWNLOAD or FetchContent_* should be wrapped with this option, so users that build Qt could control this and disable functionality that requires resources from web. Change-Id: Ie0494265c0c5fe93a7ef0d1cbcee1af919d57fa5 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
f323fa818c
commit
251e3b44fa
@ -382,3 +382,5 @@ if(NOT QT_BUILD_EXAMPLES)
|
||||
# Disable deployment setup to avoid warnings about missing patchelf with CMake < 3.21.
|
||||
set(QT_SKIP_SETUP_DEPLOYMENT ON)
|
||||
endif()
|
||||
|
||||
option(QT_ALLOW_DOWNLOAD "Allows files to be downloaded when building Qt." OFF)
|
||||
|
Loading…
Reference in New Issue
Block a user