QDoc: Skip TemplateGenerator output during the prepare pass


The driver invoked the full OutputProducer lifecycle in both the
prepare and generate passes, so -prepare rendered and copied
stylesheet assets, and a -single-exec run rendered every page twice
(reporting each failure twice). Legacy generators already do no
output work while preparing; apply the same pass ownership to the
OutputProducer branch, document the resulting pass ownership on
OutputProducer, and add regression fixtures covering prepare index
output, multi-module single-exec runs, and single-exec render
failures.

Fixes: QTBUG-151054
Pick-to: 6.12
Change-Id: I83b6ef58aed7464021aade82eae6b21846434367
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commit376ec09e4f41d5986be28ac1da1a6bce347b2af7
parentd1169b78b6186dd0ecc396007d334e4886a77e4a
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeThu, 1 Oct 2026 13:54:15 +0000