Improve error message on OS X without QtWebEngine

This commit is contained in:
Florian Bruhin 2016-07-27 12:13:22 +02:00
parent 9ff006746f
commit 7b82d81784

View File

@ -59,9 +59,13 @@ def _missing_str(name, *, windows=None, pip=None, webengine=False):
'distributions packages, or install it via pip.'.format(name)]
blocks.append('<br />'.join(lines))
if webengine:
lines = ['Note QtWebEngine is not available for some distributions '
'(like Debian/Ubuntu), so you need to start without '
'--backend webengine there.']
lines = [
'Note QtWebEngine is not available for some distributions '
'(like Debian/Ubuntu), so you need to start without '
'--backend webengine there.',
'QtWebEngine is currently unsupported with the OS X .app, see '
'https://github.com/The-Compiler/qutebrowser/issues/1692',
]
else:
lines = ['<b>If you installed a qutebrowser package for your '
'distribution, please report this as a bug.</b>']