diff --git a/AppRun b/AppRun index 932857d943..efd704c431 100755 --- a/AppRun +++ b/AppRun @@ -7,6 +7,9 @@ export GST_PLUGIN_SYSTEM_PATH="${APPDIR}/usr/lib/gstreamer-1.0" export GST_PLUGIN_SYSTEM_PATH_1_0="${APPDIR}/usr/lib/gstreamer-1.0" export LD_LIBRARY_PATH="${APPDIR}/usr/lib/:${APPDIR}/usr/lib/nss:${LD_LIBRARY_PATH}" export QT_QPA_PLATFORM="xcb" +# TODO: Remove once qt 5.15.2 support is dropped +# Fixing bug: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1944468 +export QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox" DEFAULT_LANG=en_US.UTF-8 if [[ "$LANG" == "C.UTF-8" ]] diff --git a/storybook/main.cpp b/storybook/main.cpp index 1a38d3ca51..6ff6eca305 100644 --- a/storybook/main.cpp +++ b/storybook/main.cpp @@ -40,6 +40,7 @@ int main(int argc, char *argv[]) QGuiApplication::setApplicationName(QStringLiteral("Status Desktop Storybook")); qputenv("QT_QUICK_CONTROLS_HOVER_ENABLED", QByteArrayLiteral("1")); + qputenv("QTWEBENGINE_CHROMIUM_FLAGS", QByteArrayLiteral("--disable-seccomp-filter-sandbox")); QQmlApplicationEngine engine;