summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/windeployqt/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp
index fc346e99..b3b1e9ab 100644
--- a/src/windeployqt/main.cpp
+++ b/src/windeployqt/main.cpp
@@ -327,6 +327,14 @@ static inline int parseArguments(const QStringList &arguments, QCommandLineParse
options->disabledLibraries |= disabledModules.at(int(i)).second;
}
+ // Add some dependencies
+ if (options->additionalLibraries | QtQuickModule)
+ options->additionalLibraries |= QtQmlModule;
+ if (options->additionalLibraries | QtHelpModule)
+ options->additionalLibraries |= QtCLuceneModule;
+ if (options->additionalLibraries | QtDesignerComponents)
+ options->additionalLibraries |= QtDesignerModule;
+
if (parser->isSet(jsonOption)) {
optVerboseLevel = 0;
options->json = new JsonOutput;