Update shared.cpp
Fixed few paths to Web Engine resources as where they seem to be in 5.7.1
This commit is contained in:
+7
-7
@@ -894,23 +894,23 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath
|
|||||||
sourcePath = pluginSourcePath + "/../libexec/QtWebEngineProcess";
|
sourcePath = pluginSourcePath + "/../libexec/QtWebEngineProcess";
|
||||||
destinationPath = pluginDestinationPath + "/../libexec/QtWebEngineProcess";
|
destinationPath = pluginDestinationPath + "/../libexec/QtWebEngineProcess";
|
||||||
copyFilePrintStatus(sourcePath, destinationPath);
|
copyFilePrintStatus(sourcePath, destinationPath);
|
||||||
sourcePath = pluginSourcePath + "/../libexec/qtwebengine_resources.pak";
|
sourcePath = pluginSourcePath + "/../resources/qtwebengine_resources.pak";
|
||||||
destinationPath = pluginDestinationPath + "/../resources/qtwebengine_resources.pak";
|
destinationPath = pluginDestinationPath + "/../resources/qtwebengine_resources.pak";
|
||||||
copyFilePrintStatus(sourcePath, destinationPath);
|
copyFilePrintStatus(sourcePath, destinationPath);
|
||||||
sourcePath = pluginSourcePath + "/../libexec/qtwebengine_devtools_resources.pak";
|
sourcePath = pluginSourcePath + "/../resources/qtwebengine_devtools_resources.pak";
|
||||||
destinationPath = pluginDestinationPath + "/../resources/qtwebengine_devtools_resources.pak";
|
destinationPath = pluginDestinationPath + "/../resources/qtwebengine_devtools_resources.pak";
|
||||||
copyFilePrintStatus(sourcePath, destinationPath);
|
copyFilePrintStatus(sourcePath, destinationPath);
|
||||||
sourcePath = pluginSourcePath + "/../libexec/qtwebengine_resources_100p.pak";
|
sourcePath = pluginSourcePath + "/../resources/qtwebengine_resources_100p.pak";
|
||||||
destinationPath = pluginDestinationPath + "/../resources/qtwebengine_resources_100p.pak";
|
destinationPath = pluginDestinationPath + "/../resources/qtwebengine_resources_100p.pak";
|
||||||
copyFilePrintStatus(sourcePath, destinationPath);
|
copyFilePrintStatus(sourcePath, destinationPath);
|
||||||
sourcePath = pluginSourcePath + "/../libexec/qtwebengine_resources_200p.pak";
|
sourcePath = pluginSourcePath + "/../resources/qtwebengine_resources_200p.pak";
|
||||||
destinationPath = pluginDestinationPath + "/../resources/qtwebengine_resources_200p.pak";
|
destinationPath = pluginDestinationPath + "/../resources/qtwebengine_resources_200p.pak";
|
||||||
copyFilePrintStatus(sourcePath, destinationPath);
|
copyFilePrintStatus(sourcePath, destinationPath);
|
||||||
sourcePath = pluginSourcePath + "/../libexec/icudtl.dat";
|
sourcePath = pluginSourcePath + "/../resources/icudtl.dat";
|
||||||
destinationPath = pluginDestinationPath + "/../resources/icudtl.dat";
|
destinationPath = pluginDestinationPath + "/../resources/icudtl.dat";
|
||||||
copyFilePrintStatus(sourcePath, destinationPath);
|
copyFilePrintStatus(sourcePath, destinationPath);
|
||||||
sourcePath = pluginSourcePath + "/../libexec/qtwebengine_locales";
|
sourcePath = pluginSourcePath + "/../libexec/qtwebengine_locales"; // TODO: this is actually here ../translations/qtwebengine_locales
|
||||||
destinationPath = pluginDestinationPath + "/../resources/";
|
destinationPath = pluginDestinationPath + "/../resources/"; // TODO: find where to put it
|
||||||
recursiveCopy(sourcePath, destinationPath);
|
recursiveCopy(sourcePath, destinationPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user