configure: Respect -continue in qtConfParseCommandLine
If configure is called with -continue, it should not stop processing command line arguments after encountering an invalid one. Example: configure ... -continue -quack -no-feature-gui would ignore everything after -quack. Change-Id: Ia5f0cb13414c9c0c7246ff0c72f8e935fe6dca3c Fixes: QTBUG-72912 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
11ae0e772c
commit
c2b0bca984
@ -344,6 +344,9 @@ defineTest(qtConfParseCommandLine) {
|
|||||||
|
|
||||||
isEmpty(type) {
|
isEmpty(type) {
|
||||||
qtConfAddError("Unknown command line option '$$c'.")
|
qtConfAddError("Unknown command line option '$$c'.")
|
||||||
|
equals(config.input.continue, yes): \
|
||||||
|
next()
|
||||||
|
else: \
|
||||||
return()
|
return()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user