Revert "qt6: Add macOS sandboxing warning"
This reverts commit 8715263c75.
ref: #7803
This commit is contained in:
parent
64af5f0e26
commit
b018f3f081
|
|
@ -346,15 +346,6 @@ def _open_special_pages(args):
|
|||
True,
|
||||
'qute://warning/sessions'),
|
||||
|
||||
('sandboxing-warning-shown',
|
||||
(
|
||||
hasattr(sys, "frozen") and
|
||||
utils.is_mac and
|
||||
machinery.IS_QT6 and
|
||||
os.environ.get("QTWEBENGINE_DISABLE_SANDBOX") == "1"
|
||||
),
|
||||
'qute://warning/sandboxing'),
|
||||
|
||||
('qt5-warning-shown',
|
||||
(
|
||||
machinery.IS_QT5 and
|
||||
|
|
|
|||
|
|
@ -568,9 +568,6 @@ def qute_warning(url: QUrl) -> _HandlerRet:
|
|||
title='Qt 5.15 sessions warning',
|
||||
datadir=standarddir.data(),
|
||||
sep=os.sep)
|
||||
elif path == '/sandboxing':
|
||||
src = jinja.render('warning-sandboxing.html',
|
||||
title='Qt 6 macOS sandboxing warning')
|
||||
elif path == '/qt5':
|
||||
is_venv = hasattr(sys, 'real_prefix') or sys.base_prefix != sys.prefix
|
||||
src = jinja.render('warning-qt5.html',
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
{% extends "styled.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ title }}</h1>
|
||||
<span class="note">Note this warning will only appear once. Use <span class="mono">:open
|
||||
qute://warning/sandboxing</span> to show it again at a later time.</span>
|
||||
|
||||
<p>
|
||||
Due to a <a href="https://github.com/pyinstaller/pyinstaller/pull/6903">PyInstaller issue</a>,
|
||||
Chromium's <a href="https://chromium.googlesource.com/chromium/src/+/HEAD/docs/design/sandbox_faq.md">sandboxing</a>
|
||||
is currently disabled for macOS builds with Qt 6. This means that there will be no additional layer of protection
|
||||
in case of Chromium security bugs. Thus, it's advised to
|
||||
<b>not use this build in production</b>. Hopefully, this situation will be
|
||||
resolved before the final 3.0.0 release.
|
||||
</p>
|
||||
{% endblock %}
|
||||
Loading…
Reference in New Issue