summaryrefslogtreecommitdiffstats
path: root/source/l/qt5/profile.d/qt5.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/l/qt5/profile.d/qt5.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/l/qt5/profile.d/qt5.sh b/source/l/qt5/profile.d/qt5.sh
index 8ee075e17..c7495e374 100644
--- a/source/l/qt5/profile.d/qt5.sh
+++ b/source/l/qt5/profile.d/qt5.sh
@@ -15,3 +15,12 @@ else
fi
PATH="$PATH:$QT5DIR/bin"
export QT5DIR
+# Unfortunately Chromium and derived projects (including QtWebEngine) seem
+# to be suffering some bitrot when it comes to 32-bit support, so we are
+# forced to disable the seccomp filter sandbox on 32-bit or else all of these
+# applications crash. If anyone has a patch that gets these things running on
+# 32-bit without this workaround, please let volkerdi or alienBOB know, or
+# post your solution on LQ. Thanks. :-)
+if file /bin/cat | grep -wq 32-bit ; then
+ export QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox"
+fi