Skip to content

Commit

Permalink
Add Qt6WebEngine support (#585)
Browse files Browse the repository at this point in the history
In Qt6WebEngine, as with Qt5WebEngine, it is necessary to copy
resources and the executable binary.
  • Loading branch information
atsushi-yamamoto-signalslot committed Sep 23, 2023
1 parent e83eeb7 commit 6fcaf74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/linuxdeployqt/shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,8 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath
// from the Qt instance that is to be bundled (pull requests welcome!)
// especially since stuff that is supposed to come from resources actually
// seems to come in libexec in the upstream Qt binary distribution
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5WebEngineCore")) {
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5WebEngineCore")
|| containsHowOften(deploymentInfo.deployedLibraries, "libQt6WebEngineCore")) {
// Find directories with needed files:
QString qtLibexecPath = qtToBeBundledInfo.value("QT_INSTALL_LIBEXECS");
QString qtDataPath = qtToBeBundledInfo.value("QT_INSTALL_DATA");
Expand Down

0 comments on commit 6fcaf74

Please sign in to comment.