summaryrefslogtreecommitdiffstats
path: root/tools/binarycreator/binarycreator.cpp
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@digia.com>2013-10-16 17:15:56 +0200
committerMichal Klocek <michal.klocek@digia.com>2013-10-16 17:27:49 +0200
commit6e25ca4ec779d500739a91bd8a01b7ad46b9b6bc (patch)
treedab04aaedd2a9539bf0cc028c5bf3321b59ec32a /tools/binarycreator/binarycreator.cpp
parentd5db108364fd32fecd39b7c5094eb686b2f3958c (diff)
Option parser, rcc works for current path -> no target expected
Change-Id: I93bc6613203e1e879b18e7a8d6ef8849870835ee Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'tools/binarycreator/binarycreator.cpp')
-rw-r--r--tools/binarycreator/binarycreator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binarycreator/binarycreator.cpp b/tools/binarycreator/binarycreator.cpp
index 688ecf4db..6a45a3717 100644
--- a/tools/binarycreator/binarycreator.cpp
+++ b/tools/binarycreator/binarycreator.cpp
@@ -703,7 +703,7 @@ int main(int argc, char **argv)
ftype = QInstallerTools::Include;
}
- if (target.isEmpty() && compileResource)
+ if (target.isEmpty() && !compileResource)
return printErrorAndUsageAndExit(QString::fromLatin1("Error: Target parameter missing."));
if (configFile.isEmpty())