don't use error() for user errors, take 2
missed configure.pri previously. Change-Id: Ie642526a830ca6471d3f92507c7b22c812db0d86 Reviewed-by: Lars Knoll <lars.knoll@qt.io>bb10
parent
622ab0aca5
commit
b093aec1d1
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue