diff options
| author | Christian Strømme <[email protected]> | 2023-06-13 14:42:07 +0200 |
|---|---|---|
| committer | Qt Cherry-pick Bot <[email protected]> | 2023-06-16 04:26:04 +0000 |
| commit | 606b8d6bb9b20b6a3e12c788c5b085edd199fc87 (patch) | |
| tree | c8e6c7720ca7635673b3abf2c19fb96dae42e7f8 | |
| parent | 5106b7482806ea9f65608054f40e530bfbb6ec8c (diff) | |
Remove unneeded prep step in the Darwin plugin
QT_MAC_WANTS_LAYER is on by default on macOS now.
Change-Id: I1788e01056a572aaa73293a596dad4068f3f3bfd
Reviewed-by: Tor Arne Vestbø <[email protected]>
(cherry picked from commit 5f15afaaf07586006b1731cadcb061fa23c71aef)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
| -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 } }; |
