summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/CMakeLists.txt4
-rw-r--r--src/core/api/configure.cmake10
2 files changed, 14 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 23dc00dfa..ff8c958cb 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -535,6 +535,10 @@ foreach(arch ${archs})
CONDITION QT_FEATURE_webengine_system_gbm
)
extend_gn_list(gnArgArg
+ ARGS rtc_system_openh264
+ CONDITION QT_FEATURE_webengine_webrtc_system_openh264
+ )
+ extend_gn_list(gnArgArg
ARGS use_vaapi
CONDITION QT_FEATURE_webengine_vaapi
)
diff --git a/src/core/api/configure.cmake b/src/core/api/configure.cmake
index 4a556656e..79f44f9a2 100644
--- a/src/core/api/configure.cmake
+++ b/src/core/api/configure.cmake
@@ -84,6 +84,12 @@ qt_feature("webengine-system-gbm" PRIVATE
AUTODETECT UNIX
CONDITION GBM_FOUND
)
+qt_feature("webengine-webrtc-system-openh264" PRIVATE
+ LABEL "Use system openh264 for webrtc"
+ CONDITION UNIX
+ AND QT_FEATURE_webengine_system_openh264
+ AND QT_FEATURE_webengine_proprietary_codecs
+)
qt_feature("webengine-printing-and-pdf" PRIVATE
LABEL "Printing and PDF"
PURPOSE "Provides printing and output to PDF."
@@ -224,6 +230,10 @@ qt_configure_add_summary_entry(
ARGS "webengine-system-pulseaudio"
CONDITION LINUX
)
+qt_configure_add_summary_entry(
+ ARGS "webengine-webrtc-system-openh264"
+ CONDITION UNIX
+)
qt_configure_add_summary_entry(ARGS "webengine-v8-context-snapshot")
qt_configure_add_summary_entry(ARGS "webenginedriver")
qt_configure_end_summary_section() # end of "Qt WebEngineCore" section