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>
commit699ed18efbba8a07dfba397fa7522de8449937b1
parenta364e37558b043e36f908d2fd6d202579a80cfdc
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeThu, 1 Oct 2026 13:53:49 +0000