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> (cherry picked from commit 251e3b44fab72c29d36018c61b79fe942f5402d5) Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
aa049ec2f2
commit
f17c5a4f13
@ -421,3 +421,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…
x
Reference in New Issue
Block a user