qmake: Remove "Cannot find library" warnings

Remove the warning message that was introduced in 84f27925971.
It is triggered for debug_and_release projects that are built against
a single-configuration Qt. Silently fall back to the behavior before
84f27925971 like it always was the case.

Change-Id: I67ed1a145ec5d7a4047b0ce5ad43bf0fc6834d60
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
Joerg Bornemann 2020-06-15 10:10:23 +02:00
parent 8c8c0f65e3
commit dd28aaec6f

View File

@ -231,10 +231,6 @@ for(ever) {
}
}
$$lib_missing {
msg = "Cannot find library for $${MODULE_MODULE}. Tried:$$escape_expand(\\n)"
for(path, candidates): \
msg += "$$path$$escape_expand(\\n)"
warning($$msg)
lib = $$first(candidates)
}
PRE_TARGETDEPS += $$lib