[windeployqt] Copy v8 context snapshot

- Copy v8 context snapshot while creating package with windeployqt

Fixes: QTBUG-116777
Change-Id: I707e1d147ebf0ba5ee63dd25218e23ac850efe45
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
(cherry picked from commit 8c468fc2ab3bdfb4f49eb9db10db0fb805d64180)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Anu Aliyas 2023-09-06 16:57:08 +02:00 committed by Qt Cherry-pick Bot
parent 9f3c74bfab
commit 9dd2dd4ab4

View File

@ -1572,7 +1572,9 @@ static bool deployWebEngineCore(const QMap<QString, QString> &qtpathsVariables,
"qtwebengine_devtools_resources.pak",
"qtwebengine_resources.pak",
"qtwebengine_resources_100p.pak",
"qtwebengine_resources_200p.pak"};
"qtwebengine_resources_200p.pak",
isDebug ? "v8_context_snapshot.debug.bin"
: "v8_context_snapshot.bin" };
QByteArray webEngineProcessName(webEngineProcessC);
if (isDebug && platformHasDebugSuffix(options.platform))
webEngineProcessName.append('d');