summaryrefslogtreecommitdiffstats
path: root/source/l/qt5/profile.d/qt5.sh
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-03-16 01:46:29 +0000
committer Eric Hameleers <alien@slackware.com>2022-03-16 06:59:45 +0100
commitae74897d321c65aca844b23e4ae780fdd915185f (patch)
tree91987aa9ca29c0cc1b768d92728ea96140ef7cb2 /source/l/qt5/profile.d/qt5.sh
parentec934edd7ab763945b7c115526d5a912724fa354 (diff)
downloadcurrent-ae74897d321c65aca844b23e4ae780fdd915185f.tar.gz
current-ae74897d321c65aca844b23e4ae780fdd915185f.tar.xz
Wed Mar 16 01:46:29 UTC 202220220316014629
l/jasper-3.0.3-x86_64-1.txz: Upgraded. l/qt5-5.15.3_20220312_33a3f16f-x86_64-1.txz: Upgraded. If a 32-bit userspace is detected, then: export QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox" This works around crashes occuring with 32-bit QtWebEngine applications. Thanks to alienBOB. n/krb5-1.19.3-x86_64-1.txz: Upgraded. n/samba-4.15.6-x86_64-1.txz: Upgraded. n/stunnel-5.63-x86_64-1.txz: Upgraded.
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