Make configure -qmake actually work

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

Task-number: QTBUG-87049
Change-Id: If05b16a95d0830df9ca63961576981f8983820cc
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Joerg Bornemann 2020-10-20 08:34:01 +02:00
parent dc6c263667
commit 6089888d1d

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.")