diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-08-01 10:10:32 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-08-11 08:05:05 +0000 |
commit | b093aec1d15679384f826a630d5b44aed719b2dd (patch) | |
tree | 2002a3762851ab4fd3471433f3c13d392397fd13 /configure.pri | |
parent | 622ab0aca5a35396b7369effc346a81fbbefd8b1 (diff) | |
download | qtbase-b093aec1d15679384f826a630d5b44aed719b2dd.tar.gz |
don't use error() for user errors, take 2
missed configure.pri previously.
Change-Id: Ie642526a830ca6471d3f92507c7b22c812db0d86
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'configure.pri')
-rw-r--r-- | configure.pri | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.pri b/configure.pri index 96b0d4ea56..526a4bb711 100644 --- a/configure.pri +++ b/configure.pri @@ -15,10 +15,10 @@ defineTest(qtConfCommandline_cxxstd) { qtConfCommandlineSetInput("c++14", "yes") qtConfCommandlineSetInput("c++1z", "yes") } else { - error("Invalid argument $$val to command line parameter $$arg") + qtConfAddError("Invalid argument $$val to command line parameter $$arg") } } else { - error("Missing argument to command line parameter $$arg") + qtConfAddError("Missing argument to command line parameter $$arg") } } @@ -36,10 +36,10 @@ defineTest(qtConfCommandline_sanitize) { } else: equals(val, "undefined") { qtConfCommandlineSetInput("sanitize_undefined", "yes") } else { - error("Invalid argument $$val to command line parameter $$arg") + qtConfAddError("Invalid argument $$val to command line parameter $$arg") } } else { - error("Missing argument to command line parameter $$arg") + qtConfAddError("Missing argument to command line parameter $$arg") } } |