From b093aec1d15679384f826a630d5b44aed719b2dd Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 1 Aug 2016 10:10:32 +0200 Subject: don't use error() for user errors, take 2 missed configure.pri previously. Change-Id: Ie642526a830ca6471d3f92507c7b22c812db0d86 Reviewed-by: Lars Knoll --- configure.pri | 8 ++++---- 1 file 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") } } -- cgit v1.2.3