summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2021-09-29 16:56:27 +0200
committerTopi Reinio <topi.reinio@qt.io>2021-09-30 15:38:07 +0200
commit725b52141d553590d395d51963ee8b60f99ca40d (patch)
treea16ea08866ad2390617a916d80c73d2eb5a57dde /src/tools
parent8d8448a1f5a935f72ae5206df5ce95c651db1fbc (diff)
CMake: Introduce QT_BUILD_ONLINE_DOCS flag for documentation builds
QDoc modifies its linking behavior depending on whether the -installdir command line option was set or not; Without -installdir, QDoc will use 'https://<url>' to link to targets loaded from external documentation modules, instead of using relative paths. Drop the -installdir if QT_BUILD_ONLINE_DOCS was set. This behavior matches the 'build_online_docs' scope that was used for qmake documentation targets, and is useful for documentation projects that are not part of Qt but want to link to Qt docs simply by loading the index files of Qt's modules. Pick-to: 6.2 Change-Id: Ib1bbf7b9d784e0c276d2bc520240af4a6c8ba903 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions