summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2021-11-04 15:54:42 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-11-04 18:38:36 +0000
commit5705b772fd864dc4f30b275c88b568d6bfebaff8 (patch)
tree715c528d723104ce9e49bef3f51796fe6b2f301e
parentb94df066bf8c359595826ec024fd0e0a2fc3cb17 (diff)
Select the correct config for online doc build
Change-Id: I90bbbfed2c2a57e76b480755e3bb9293b509086f Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit cb6e7d7a07e0084cda9a3bd5ca4f7f60d74a7164) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/interfaceframework/CMakeLists.txt8
-rw-r--r--src/interfaceframework/doc/online/qtinterfaceframework.qdocconf (renamed from src/interfaceframework/doc/online/qtif.qdocconf)2
2 files changed, 8 insertions, 2 deletions
diff --git a/src/interfaceframework/CMakeLists.txt b/src/interfaceframework/CMakeLists.txt
index 2174a817..df8fedc4 100644
--- a/src/interfaceframework/CMakeLists.txt
+++ b/src/interfaceframework/CMakeLists.txt
@@ -85,8 +85,14 @@ qt_internal_extend_target(InterfaceFramework CONDITION NOT enable-qlalr
## Documentation
#####################################################################
+if(QT_BUILD_ONLINE_DOCS)
+ set(DOC_CONF "doc/online/qtinterfaceframework.qdocconf")
+else()
+ set(DOC_CONF "doc/qtinterfaceframework.qdocconf")
+endif()
+
qt_internal_add_docs(InterfaceFramework
- doc/qtinterfaceframework.qdocconf
+ ${DOC_CONF}
)
file(GLOB_RECURSE allDocFiles "doc/*.qdoc" "doc/*.png" "doc/*.qdocconf")
diff --git a/src/interfaceframework/doc/online/qtif.qdocconf b/src/interfaceframework/doc/online/qtinterfaceframework.qdocconf
index 3025bbdc..4ce09b85 100644
--- a/src/interfaceframework/doc/online/qtif.qdocconf
+++ b/src/interfaceframework/doc/online/qtinterfaceframework.qdocconf
@@ -7,4 +7,4 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults-online.qdocconf)
HTML.nosubdirs = "false"
HTML.outputsubdir = "interfaceframework"
-include(../interfaceframework-project.qdocconf)
+include(../qtinterfaceframework-project.qdocconf)