From 38bfe7a2793f74fc1d42a83016c1aeda4dbd7d78 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Thu, 3 Aug 2017 16:22:22 -0700 Subject: Add NSSupportsAutomaticGraphicsSwitching key to Info.plist app templates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ø --- mkspecs/macx-clang/Info.plist.app | 2 ++ mkspecs/macx-g++/Info.plist.app | 2 ++ mkspecs/macx-icc/Info.plist.app | 2 ++ 3 files changed, 6 insertions(+) diff --git a/mkspecs/macx-clang/Info.plist.app b/mkspecs/macx-clang/Info.plist.app index b76856d3c8..ebd108dadf 100644 --- a/mkspecs/macx-clang/Info.plist.app +++ b/mkspecs/macx-clang/Info.plist.app @@ -18,5 +18,7 @@ This file was generated by Qt/QMake. NSPrincipalClass NSApplication + NSSupportsAutomaticGraphicsSwitching + diff --git a/mkspecs/macx-g++/Info.plist.app b/mkspecs/macx-g++/Info.plist.app index b76856d3c8..ebd108dadf 100644 --- a/mkspecs/macx-g++/Info.plist.app +++ b/mkspecs/macx-g++/Info.plist.app @@ -18,5 +18,7 @@ This file was generated by Qt/QMake. NSPrincipalClass NSApplication + NSSupportsAutomaticGraphicsSwitching + 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 @@ This file was generated by Qt/QMake. NSPrincipalClass NSApplication + NSSupportsAutomaticGraphicsSwitching + -- cgit v1.2.3