Browse Source

Make #5 verbose (help wanted)

master
probonopd 8 years ago
parent
commit
e947ff4941
  1. 2
      linuxdeployqt/main.cpp
  2. 5
      shared/shared.cpp

2
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();
}

5
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);

Loading…
Cancel
Save