From 9a4c922ce9c064212a591bbf91307afc9ca53fca Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Thu, 19 Sep 2024 15:56:36 +0200 Subject: [PATCH] Copy v8_context_snapshot.bin to resources when deploying Qt WebEngine. This file was added in Qt6. --- src/deployers/WebEnginePluginsDeployer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/deployers/WebEnginePluginsDeployer.cpp b/src/deployers/WebEnginePluginsDeployer.cpp index 7ca70bc..32e6dde 100644 --- a/src/deployers/WebEnginePluginsDeployer.cpp +++ b/src/deployers/WebEnginePluginsDeployer.cpp @@ -39,7 +39,9 @@ bool WebEnginePluginsDeployer::doDeploy() { for (const auto &fileName : {"qtwebengine_resources.pak", "qtwebengine_devtools_resources.pak", "qtwebengine_resources_100p.pak", - "qtwebengine_resources_200p.pak", "icudtl.dat"}) { + "qtwebengine_resources_200p.pak", + "icudtl.dat", + "v8_context_snapshot.bin"}) { auto path = qtDataPath / "resources" / fileName; if (fs::is_regular_file(path))