QDoc: Replace broken include path guessing with actionable warning


When no include paths are configured, QDoc's Clang integration
attempted to guess reasonable paths from the install directory and
from header file locations. This fallback has been silently broken
since the header storage was refactored in 6.8: the function that
derived include paths from headers never populated its return value,
so it always returned an empty list.

Rather than restoring guesswork that assumes a specific Qt install
layout, QDoc now emits a warning that tells the user what to
configure. This gives clear, actionable diagnostics instead of
silently proceeding with incomplete include paths.

Fixes: QTBUG-145701
Change-Id: Ibdde42e67b78b9b1a199e19e1ec48ddfa45bba70
Reviewed-by: David Boddie <david.boddie@qt.io>
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commited602dbe186dfa72c0e5d0819ab7c6fb07773dc4
parentac9b204f475784f0130931ee45fb93c56248a956
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeWed, 8 Apr 2026 17:37:07 +0200