diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-10-11 16:12:55 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-11 18:08:00 +0200 |
commit | 7eb2633822ff6abb74ba4f83ffc88245e788720b (patch) | |
tree | 4304b6b5ed7dfa819a7f7679792d73076b7f840c | |
parent | 92020773c1739feb4dc240827271720f615431d0 (diff) |
windeployqt: Fix deployment of command line applications.
Do not return when not finding any matching plugins.
Change-Id: I176633f4089ba03f29977187c828a5070de381b2
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
-rw-r--r-- | src/windeployqt/main.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp index e49603697..c9dc44618 100644 --- a/src/windeployqt/main.cpp +++ b/src/windeployqt/main.cpp @@ -732,10 +732,7 @@ static DeployResult deploy(const Options &options, if (optVerboseLevel > 1) std::printf("Plugins: %s\n", qPrintable(plugins.join(QLatin1Char(',')))); - if (plugins.isEmpty()) - return result; - - if (platformPlugin.isEmpty()) { + if ((result.deployedQtLibraries & QtGuiModule) && platformPlugin.isEmpty()) { *errorMessage =QStringLiteral("Unable to find the platform plugin."); return result; } |