Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
Konqueror
Commits
8794f7cb
Commit
8794f7cb
authored
Mar 10, 2022
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
8794f7cb
...
...
@@ -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
}
"
)
...
...
src/konqapplication.cpp
View file @
8794f7cb
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment