From 6e25ca4ec779d500739a91bd8a01b7ad46b9b6bc Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Wed, 16 Oct 2013 17:15:56 +0200 Subject: Option parser, rcc works for current path -> no target expected Change-Id: I93bc6613203e1e879b18e7a8d6ef8849870835ee Reviewed-by: Tim Jenssen --- tools/binarycreator/binarycreator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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()) -- cgit v1.2.3