summaryrefslogtreecommitdiffstats
path: root/source/l/qt5/profile.d/qt5.csh
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/qt5/profile.d/qt5.csh')
-rw-r--r--source/l/qt5/profile.d/qt5.csh10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/l/qt5/profile.d/qt5.csh b/source/l/qt5/profile.d/qt5.csh
index ec1ecd9be..0c3f10d42 100644
--- a/source/l/qt5/profile.d/qt5.csh
+++ b/source/l/qt5/profile.d/qt5.csh
@@ -15,3 +15,13 @@ if ( ! $?QT5DIR ) then
endif
endif
set path = ( $path $QT5DIR/bin )
+# 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. :-)
+file /bin/cat | grep -wq 32-bit
+if ( "$?" == "0" ) then
+ setenv QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox"
+endif