Skip to content

Commit 6fcaf74

Browse files
Add Qt6WebEngine support (#585)
In Qt6WebEngine, as with Qt5WebEngine, it is necessary to copy resources and the executable binary.
1 parent e83eeb7 commit 6fcaf74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/linuxdeployqt/shared.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1554,7 +1554,8 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath
15541554
// from the Qt instance that is to be bundled (pull requests welcome!)
15551555
// especially since stuff that is supposed to come from resources actually
15561556
// seems to come in libexec in the upstream Qt binary distribution
1557-
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5WebEngineCore")) {
1557+
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5WebEngineCore")
1558+
|| containsHowOften(deploymentInfo.deployedLibraries, "libQt6WebEngineCore")) {
15581559
// Find directories with needed files:
15591560
QString qtLibexecPath = qtToBeBundledInfo.value("QT_INSTALL_LIBEXECS");
15601561
QString qtDataPath = qtToBeBundledInfo.value("QT_INSTALL_DATA");

0 commit comments

Comments
 (0)