diff --git a/linuxdeployqt/main.cpp b/linuxdeployqt/main.cpp index 3581401..4efc294 100644 --- a/linuxdeployqt/main.cpp +++ b/linuxdeployqt/main.cpp @@ -173,10 +173,8 @@ int main(int argc, char **argv) bool ok = deployQmlImports(appDirPath, deploymentInfo, qmlDirs); if (!ok && qmldirArgumentUsed) return 1; // exit if the user explicitly asked for qml import deployment - // Update deploymentInfo.deployedLibraries - the QML imports // may have brought in extra libraries as dependencies. - // deploymentInfo.deployedLibraries += findAppLibraryNames(appDirPath); deploymentInfo.deployedLibraries += findAppLibraries(appDirPath); deploymentInfo.deployedLibraries = deploymentInfo.deployedLibraries.toSet().toList(); } diff --git a/shared/shared.cpp b/shared/shared.cpp index 734190a..d2c13cd 100644 --- a/shared/shared.cpp +++ b/shared/shared.cpp @@ -743,6 +743,11 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath const QString destinationPath = pluginDestinationPath + "/" + plugin; QDir dir; dir.mkpath(QFileInfo(destinationPath).path()); + LogError() << "FIXME: Need to scan" << destinationPath << "for additional dependencies (this is not yorking yet)"; + LogError() << "FIXME: Update deploymentInfo.deployedLibraries - the plugins"; + LogError() << "FIXME: will have brought in extra libraries as dependencies (e.g., plugins/platforms/libqxcb.so needs libQt5XcbQpa.so.5)"; + deploymentInfo.deployedLibraries += findAppLibraries(destinationPath); + deploymentInfo.deployedLibraries = deploymentInfo.deployedLibraries.toSet().toList(); if (copyFilePrintStatus(sourcePath, destinationPath)) { runStrip(destinationPath);