diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-08-03 16:22:22 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-08-08 21:42:00 +0000 |
commit | 38bfe7a2793f74fc1d42a83016c1aeda4dbd7d78 (patch) | |
tree | 1fb4ca49c059b4b1e13a825d7312294bd22af407 /mkspecs/macx-icc | |
parent | 3ec3f2a5da0b0c87eed83cd348540a3040ad27a5 (diff) |
Add NSSupportsAutomaticGraphicsSwitching key to Info.plist app templates
This will allow Qt Quick applications to use the integrated GPU on
compatible Apple hardware, which helps preserve battery life.
Change-Id: I9224bd408930e2ed3dd8a022432512e78d69c195
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'mkspecs/macx-icc')
-rw-r--r-- | mkspecs/macx-icc/Info.plist.app | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/macx-icc/Info.plist.app b/mkspecs/macx-icc/Info.plist.app index b76856d3c8..ebd108dadf 100644 --- a/mkspecs/macx-icc/Info.plist.app +++ b/mkspecs/macx-icc/Info.plist.app @@ -18,5 +18,7 @@ <string>This file was generated by Qt/QMake.</string> <key>NSPrincipalClass</key> <string>NSApplication</string> + <key>NSSupportsAutomaticGraphicsSwitching</key> + <true/> </dict> </plist> |