From 26923baa4aaa5e1818c58eb4b00014908333535d Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 23 Feb 2017 07:50:37 +0100 Subject: [PATCH] Set NSSupportsAutomaticGraphicsSwitching in Info.plist This should make it possible to use AirPlay with qutebrowser. See https://bugreports.qt.io/browse/QTBUG-54053 --- misc/qutebrowser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/misc/qutebrowser.spec b/misc/qutebrowser.spec index 81983aa0b..fe58891ac 100644 --- a/misc/qutebrowser.spec +++ b/misc/qutebrowser.spec @@ -70,6 +70,9 @@ coll = COLLECT(exe, app = BUNDLE(coll, name='qutebrowser.app', icon=icon, - info_plist={'NSHighResolutionCapable': 'True'}, + info_plist={ + 'NSHighResolutionCapable': 'True', + 'NSSupportsAutomaticGraphicsSwitching': 'True', + }, # https://github.com/pyinstaller/pyinstaller/blob/b78bfe530cdc2904f65ce098bdf2de08c9037abb/PyInstaller/hooks/hook-PyQt5.QtWebEngineWidgets.py#L24 bundle_identifier='org.qt-project.Qt.QtWebEngineCore')