Commit 8794f7cb authored by Stefano Crocco's avatar Stefano Crocco
Browse files

Always enable WebRTCPipeWireCapture

(cherry picked from commit d392e7cf)
parent 208e7eec
Pipeline #152956 passed with stage
in 3 minutes and 23 seconds
......@@ -65,13 +65,6 @@ check_symbol_exists(mallinfo "stdlib.h" KDE_MALLINFO_STDL
# TODO KDE_MALLINFO_FIELD_uordblks
# TODO KDE_MALLINFO_FIELD_usmblks
set(WEBENGINEPART_RTC_PIPEWIRE_CAPTURER false CACHE BOOL "Enable rtc pipewire catpure for WebEnginePart")
mark_as_advanced(WEBENGINEPART_RTC_PIPEWIRE_CAPTURER)
if(${WEBENGINEPART_RTC_PIPEWIRE_CAPTURER})
add_compile_definitions(WEBENGINEPART_RTC_PIPEWIRE_CAPTURER=1)
endif()
if(Hunspell_FOUND)
set(WEBENGINEPART_DICTIONARY_DIR ${CMAKE_INSTALL_PREFIX}/share/konqueror/webengine_dictionaries CACHE PATH "The directory where dictionary files for WebEnginePart will be put")
add_compile_definitions(WEBENGINEPART_DICTIONARY_DIR="${WEBENGINEPART_DICTIONARY_DIR}")
......
......@@ -37,11 +37,9 @@ KonquerorApplication::KonquerorApplication(int &argc, char **argv)
}
#endif
#ifdef WEBENGINEPART_RTC_PIPEWIRE_CAPTURER
QByteArray flags = qgetenv("QTWEBENGINE_CHROMIUM_FLAGS");
flags.append(" --enable-features=WebRTCPipeWireCapturer");
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", flags);
#endif
}
void KonquerorApplication::slotReparseConfiguration()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment