summaryrefslogtreecommitdiff
path: root/misc/qutebrowser.spec
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2017-02-23 07:50:37 +0100
committerFlorian Bruhin <git@the-compiler.org>2017-02-23 07:50:37 +0100
commit26923baa4aaa5e1818c58eb4b00014908333535d (patch)
tree25b1a98e7ffbfbece7cba149e39f8cc45c5884da /misc/qutebrowser.spec
parent91d3326a9e62cec92dd1974340ee5b1e55ed5a21 (diff)
downloadqutebrowser-26923baa4aaa5e1818c58eb4b00014908333535d.tar.gz
qutebrowser-26923baa4aaa5e1818c58eb4b00014908333535d.zip
Set NSSupportsAutomaticGraphicsSwitching in Info.plist
This should make it possible to use AirPlay with qutebrowser. See https://bugreports.qt.io/browse/QTBUG-54053
Diffstat (limited to 'misc/qutebrowser.spec')
-rw-r--r--misc/qutebrowser.spec5
1 files changed, 4 insertions, 1 deletions
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')