Make configure -qmake actually work

We need to ignore this option in qt_configure.prf.
This amends 077ea0c633.

Task-number: QTBUG-87049
Change-Id: If05b16a95d0830df9ca63961576981f8983820cc
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
bb10
Joerg Bornemann 2020-10-20 08:34:01 +02:00
parent dc6c263667
commit 6089888d1d
1 changed files with 5 additions and 0 deletions

View File

@ -340,6 +340,11 @@ defineTest(qtConfParseCommandLine) {
type = boolean
}
# Skip the -qmake option.
isEmpty(type):contains(opt, "qmake") {
next()
}
isEmpty(type):contains(opt, "skip") {
isEmpty(skipOptionWarningAdded) {
qtConfAddWarning("Command line option -skip is only effective in top-level builds.")