QDoc: Move default configuration into resources
Store a default configuration file, defaults.qdocconf, as an embedded
resource for the QDoc binary, and use Config::load() to set the defaults
when resetting the configuration system. This creates a centralized
place for the defaults in a format documented in the QDoc manual, and
paves a way for conditional profile-based configurations.
A limitation is imposed by the way Config tracks and changes the current
working directory: Configuration files under the resource system cannot
include() other .qdocconf files using relative paths. They can, however,
use absolute paths, including ':/'-prefixed ones.
Fixes: QTBUG-142180
Change-Id: I048175818ad8e9b8070c13515e61b9f5336dc527
Reviewed-by: David Boddie <david.boddie@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>