aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTatiana Borisova <tatiana.borisova@qt.io>2023-09-25 19:41:29 +0200
committerUlf Hermann <ulf.hermann@qt.io>2023-09-26 13:09:00 +0000
commit996ed8302b65da81b42837f5fdae615964dcfd56 (patch)
tree04fc48946fb09cfd42ebf35dc0fffeea34e1277d /src
parent46fc095ae48456afab360847e0c8cb16f59997c8 (diff)
Add QML-SSL support to the build system
- In case user needs to disable the QML-SSL integration, but wants to have the base SSL feature still enabled. Change-Id: Iddced3f8b75b80b7ce24cd189c57b21f35377814 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qml/configure.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/qml/configure.cmake b/src/qml/configure.cmake
index 82e3a059ba..bdf8eb6ab3 100644
--- a/src/qml/configure.cmake
+++ b/src/qml/configure.cmake
@@ -78,6 +78,13 @@ qt_feature("qml-network" PUBLIC
CONDITION QT_FEATURE_network
)
+qt_feature("qml-ssl" PUBLIC
+ SECTION "QML"
+ LABEL "QML SSL support"
+ PURPOSE "Provides ssl support in QML."
+ ENABLE QT_FEATURE_ssl
+)
+
# On arm and arm64 we need a specialization of cacheFlush() for each OS to be
# enabled. Therefore the config white list. Finally, ios and tvos can
# technically use the JIT but Apple does not allow it. Therefore, it's disabled
@@ -179,6 +186,7 @@ qt_configure_add_summary_entry(ARGS "qml-debug")
qt_configure_add_summary_entry(ARGS "qml-jit")
qt_configure_add_summary_entry(ARGS "qml-xml-http-request")
qt_configure_add_summary_entry(ARGS "qml-locale")
+qt_configure_add_summary_entry(ARGS "qml-ssl")
qt_configure_end_summary_section() # end of "Qt QML" section
qt_configure_add_report_entry(
TYPE ERROR