summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-12-16 09:06:15 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-16 09:11:03 +0100
commite78d4db64b3a20b691e63e8f8eb62f642128c21b (patch)
tree527360d189898b73abf6986f5513082cdf301e1d
parent5f7f4a583fdaf7b2ae1a71d8bdd1a0beb290f1c3 (diff)
downloadqttools-e78d4db64b3a20b691e63e8f8eb62f642128c21b.tar.gz
qttools-e78d4db64b3a20b691e63e8f8eb62f642128c21b.tar.bz2
qttools-e78d4db64b3a20b691e63e8f8eb62f642128c21b.zip
windeployqt: Fix operators in additional options check.
Task-number: QTBUG-35612 Change-Id: Ib264aeef926b9a6058ba3e2046c3dc363e13584f Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
-rw-r--r--src/windeployqt/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp
index c53ba488..dc57f340 100644
--- a/src/windeployqt/main.cpp
+++ b/src/windeployqt/main.cpp
@@ -328,11 +328,11 @@ static inline int parseArguments(const QStringList &arguments, QCommandLineParse
}
// Add some dependencies
- if (options->additionalLibraries | QtQuickModule)
+ if (options->additionalLibraries & QtQuickModule)
options->additionalLibraries |= QtQmlModule;
- if (options->additionalLibraries | QtHelpModule)
+ if (options->additionalLibraries & QtHelpModule)
options->additionalLibraries |= QtCLuceneModule;
- if (options->additionalLibraries | QtDesignerComponents)
+ if (options->additionalLibraries & QtDesignerComponents)
options->additionalLibraries |= QtDesignerModule;
if (parser->isSet(jsonOption)) {