QDoc: Enable exceptions for the template generator
The template generator’s dependencies signal rendering errors with C++
exceptions. Without that signal, a malformed template can only end the
run, preventing QDoc from processing later pages.
Template-enabled QDoc builds can now receive those errors at the
render boundary. This prepares per-page recovery while builds without
the generator retain their existing exception policy.
Task-number: QTBUG-146939
Change-Id: I7e9607a2187d415925edda919acccaff814159e2
Reviewed-by: Paul Wicking <paul.wicking@qt.io>