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
Oswald Buddenhagen 2016-08-01 10:10:32 +02:00 committed by Lars Knoll
parent 622ab0aca5
commit b093aec1d1
1 changed files with 4 additions and 4 deletions

View File

@ -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")
}
}