Files
qt-creator/doc/qtcreator/config/qtcreator-project.qdocconf
Eike Ziller 9954a285f2 Doc: Fix insource build
When implementing acknowledgments via the generated attributions file,
the complete `<qtc_build>/doc/` directory was added as a source
directory for qdoc. For insource builds the build directory is the same
as the source directory, so qdoc would suddenly include all
documentation from `<qtc_source>/doc/`, which mixes Design Studio and Qt
Creator documentation.

Move the generated attributions file into a subdirectory, and only add
that subdirectory. Also fix that attributions were not generated at all
anymore after trying to fix issues when qdoc is missing.

Amends 2ce9f9d97d and
13b48144a6

Change-Id: I689827dabca37c81d4351dec04f23f46503429f6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-01-08 11:18:53 +00:00

82 lines
2.2 KiB
Plaintext

project = qtcreator
description = "$IDE_DISPLAY_NAME Manual"
url = http://doc.qt.io/$IDE_ID
#Words to ignore for auto-linking
ignorewords += \
Boot2Qt \
macOS \
WebChannel \
WebSocket \
WebSockets \
OpenGL \
MinGW
headerdirs =
sourcedirs = ../src \
$$GENERATED_ATTRIBUTIONS_DIR
imagedirs = ../images
exampledirs = ../examples
examples.fileextensions += *.qml *.svg
include(../../qtcreator/images/extraimages/qtcreator-extraimages.qdocconf)
depends += qtwidgets \
qtcmake \
qtcore \
qtqml \
qtquick \
qtquickcontrols \
qmake \
qtdesigner \
qtdoc \
qtgui \
qthelp \
qtquicktimeline \
qtlinguist \
qtpositioning \
qtscxml \
qtsensors \
qttestlib \
qtuitools \
qtxml \
qtvirtualkeyboard
include(../../config/macros.qdocconf)
include(../../config/qt-cpp-ignore.qdocconf)
include(../../config/qt-defines.qdocconf)
defines += qtcreator
sources.fileextensions = "*.qdoc"
qhp.projects = QtCreator
qhp.QtCreator.file = qtcreator.qhp
qhp.QtCreator.namespace = org.qt-project.qtcreator.$QTC_VERSION_TAG
qhp.QtCreator.virtualFolder = doc
qhp.QtCreator.indexTitle = $IDE_DISPLAY_NAME Manual $QTC_VERSION
qhp.QtCreator.filterAttributes = $IDE_ID $QTC_VERSION
qhp.QtCreator.customFilters.QtCreator.name = $IDE_DISPLAY_NAME $QTC_VERSION
qhp.QtCreator.customFilters.QtCreator.filterAttributes = $IDE_ID $QTC_VERSION
qhp.QtCreator.indexRoot =
qhp.QtCreator.subprojects = manual
qhp.QtCreator.subprojects.manual.title = $IDE_DISPLAY_NAME Manual
qhp.QtCreator.subprojects.manual.indexTitle = All Topics
qhp.QtCreator.subprojects.manual.type = manual
# Doxygen compatibility commands
macro.see = "\\sa"
macro.function = "\\fn"
navigation.landingpage = "$IDE_DISPLAY_NAME Manual"
# Auto-generate navigation linking based on "All Topics":
navigation.toctitles = "All Topics"
navigation.toctitles.inclusive = false
buildversion = "$IDE_DISPLAY_NAME Manual $QTC_VERSION"