Skip to content

Commit

Permalink
Copy v8_context_snapshot.bin to resources when deploying Qt WebEngine.
Browse files Browse the repository at this point in the history
This file was added in Qt6.
  • Loading branch information
camilasan authored and TheAssassin committed Sep 19, 2024
1 parent 24f169a commit 70b4665
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/deployers/WebEnginePluginsDeployer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 70b4665

Please sign in to comment.