summaryrefslogtreecommitdiffstats
path: root/configure.pri
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-08-01 10:10:32 +0200
committerLars Knoll <lars.knoll@qt.io>2016-08-11 08:05:05 +0000
commitb093aec1d15679384f826a630d5b44aed719b2dd (patch)
tree2002a3762851ab4fd3471433f3c13d392397fd13 /configure.pri
parent622ab0aca5a35396b7369effc346a81fbbefd8b1 (diff)
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.pri8
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")
}
}