aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata/relaxed-mode-recovery/relaxed-mode-recovery.qbs
Commit message (Collapse)AuthorAgeFilesLines
* Try not to emit bogus errors after real errors in relaxed modeChristian Kandeler2016-07-071-0/+10
In "relaxed mode", intended for use by IDEs, we try to continue project resolving as much as we can even when errors are encountered. Since that mode was not present from the beginning, some code does not deal well with the resulting state. This patch takes the following measures: - Do not call handleProduct() if an error already occurred for that product. We will disable it later anyway, so there is no need to try merging modules, running probes etc. - Add the base module to the item's list of modules only after resolving explicit dependencies. This fixes an ugly "assert" message that would appear with bogus dependencies in Export items. While it was technically harmless, it had the potential to worry users. Change-Id: Ie650314b08488b975569678b931fd670bb8f43ac Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>