QDoc: Diagnose template render errors
A documentation author whose template accesses something a page does
not have gets an abort that does not say which page or template
failed. In a large documentation set, that makes the failing template
hard to locate.
A failed template render now reports the output format, the page being
rendered, and the template in use, along with the error the template
engine reported. The author can find and fix the offending page or
template from the diagnostic alone.
Task-number: QTBUG-146939
Pick-to: 6.12
Change-Id: If8149f96980a525fac1abc1947a5a5d30736163f
Reviewed-by: Paul Wicking <paul.wicking@qt.io>