summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/webenginewidgets/demobrowser/Info_mac.plist2
-rw-r--r--src/webengine/doc/src/qtwebengine-platform-notes.qdoc7
2 files changed, 9 insertions, 0 deletions
diff --git a/examples/webenginewidgets/demobrowser/Info_mac.plist b/examples/webenginewidgets/demobrowser/Info_mac.plist
index ccd4b3f28..25443f7be 100644
--- a/examples/webenginewidgets/demobrowser/Info_mac.plist
+++ b/examples/webenginewidgets/demobrowser/Info_mac.plist
@@ -41,5 +41,7 @@
</array>
<key>NOTE</key>
<string>DemoBrowser by The Qt Company Ltd.</string>
+ <key>NSSupportsAutomaticGraphicsSwitching</key>
+ <string>YES</string>
</dict>
</plist>
diff --git a/src/webengine/doc/src/qtwebengine-platform-notes.qdoc b/src/webengine/doc/src/qtwebengine-platform-notes.qdoc
index 615e3eed0..851507659 100644
--- a/src/webengine/doc/src/qtwebengine-platform-notes.qdoc
+++ b/src/webengine/doc/src/qtwebengine-platform-notes.qdoc
@@ -131,6 +131,13 @@
\li Text fields might be painted with a different style on Mountain Lion (\macos 10.8).
\endlist
+ \section1 macOS Airplay Support on MacBooks with Dual GPUs
+
+ To make Qt WebEngine work correctly when streaming to an AppleTV from a MacBook that supports
+ GPU switching, it is important to add the \c NSSupportsAutomaticGraphicsSwitching option to the
+ application Info.plist file, with the value set to \c YES. Otherwise rendering issues might
+ occur when creating new web engine view instances after Airplay is switched on or off.
+
\section1 Default QSurfaceFormat OpenGL Profile Support
If a new default QSurfaceFormat with a modified OpenGL profile has to be set, it should be set