Add environment variables to skip backendproblem checks
This is usually a bad idea, but might be useful in some special situations.
This commit is contained in:
parent
2f33f93a98
commit
763d035ee3
@ -157,6 +157,9 @@ def _show_dialog(*args, **kwargs):
|
||||
def _handle_nouveau_graphics():
|
||||
assert objects.backend == usertypes.Backend.QtWebEngine, objects.backend
|
||||
|
||||
if os.environ.get('QUTE_SKIP_NOUVEAU_CHECK'):
|
||||
return
|
||||
|
||||
if version.opengl_vendor() != 'nouveau':
|
||||
return
|
||||
|
||||
@ -187,6 +190,9 @@ def _handle_nouveau_graphics():
|
||||
def _handle_wayland():
|
||||
assert objects.backend == usertypes.Backend.QtWebEngine, objects.backend
|
||||
|
||||
if os.environ.get('QUTE_SKIP_WAYLAND_CHECK'):
|
||||
return
|
||||
|
||||
platform = QApplication.instance().platformName()
|
||||
if platform not in ['wayland', 'wayland-egl']:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user