diff options
author | Christian Strømme <christian.stromme@qt.io> | 2023-06-13 14:42:07 +0200 |
---|---|---|
committer | Christian Strømme <christian.stromme@qt.io> | 2023-06-14 09:17:57 +0200 |
commit | 5f15afaaf07586006b1731cadcb061fa23c71aef (patch) | |
tree | b54046c13aad75478ff22626fbfc0ca172fc6fe3 | |
parent | 294e8956588a2c09995b2bd8a8bbb86a108bbcd3 (diff) |
Remove unneeded prep step in the Darwin plugin
QT_MAC_WANTS_LAYER is on by default on macOS now.
Pick-to: 6.6 6.5
Change-Id: I1788e01056a572aaa73293a596dad4068f3f3bfd
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-rw-r--r-- | src/plugins/darwin/qdarwinwebviewplugin.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/darwin/qdarwinwebviewplugin.cpp b/src/plugins/darwin/qdarwinwebviewplugin.cpp index 5829e8b..3034cdc 100644 --- a/src/plugins/darwin/qdarwinwebviewplugin.cpp +++ b/src/plugins/darwin/qdarwinwebviewplugin.cpp @@ -20,13 +20,6 @@ public: void prepare() const override { -#ifdef Q_OS_MACOS - // On macOS, correct WebView / QtQuick compositing and stacking requires running - // Qt in layer-backed mode, which again resuires rendering on the Gui thread. - qWarning("Setting QT_MAC_WANTS_LAYER=1 and QSG_RENDER_LOOP=basic"); - qputenv("QT_MAC_WANTS_LAYER", "1"); - qputenv("QSG_RENDER_LOOP", "basic"); -#endif // Q_OS_MACOS } }; |