include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf)
include($QT_INSTALL_DOCS/config/exampleurl-qtbase.qdocconf)

project                 = QtTestLib
moduleheader            = QtTest
description             = Qt Test Reference Documentation
version                 = $QT_VERSION

examplesinstallpath     = qtestlib

# Path to the root of qtbase (for automatic linking to source code)
url.sources.rootdir     = ../../..

qhp.projects            = QtTestLib

qhp.QtTestLib.file                = qttestlib.qhp
qhp.QtTestLib.namespace           = org.qt-project.qttest.$QT_VERSION_TAG
qhp.QtTestLib.virtualFolder       = qttest
qhp.QtTestLib.indexTitle          = Qt Test
qhp.QtTestLib.indexRoot           =

qhp.QtTestLib.subprojects = manual classes
qhp.QtTestLib.subprojects.manual.title = Qt Test
qhp.QtTestLib.subprojects.manual.indexTitle = Qt Test module topics
qhp.QtTestLib.subprojects.manual.type = manual

qhp.QtTestLib.subprojects.classes.title = C++ Classes
qhp.QtTestLib.subprojects.classes.indexTitle = Qt Test C++ Classes
qhp.QtTestLib.subprojects.classes.selectors = class fake:headerfile
qhp.QtTestLib.subprojects.classes.sortPages = true

tagfile                 = ../../../doc/qttestlib/qttestlib.tags

depends                 += qtcore qtdoc qtwidgets qtgui qmake qtqmltest qtcmake

headerdirs  += ..

headers     += ../../corelib/kernel/qtestsupport_core.h \
               ../../gui/kernel/qtestsupport_gui.h \
               ../../widgets/kernel/qtestsupport_widgets.h

sourcedirs  += ..

sources     += ../../corelib/kernel/qtestsupport_core.cpp \
               ../../gui/kernel/qtestsupport_gui.cpp \
               ../../widgets/kernel/qtestsupport_widgets.cpp

exampledirs += ../../../examples/qtestlib \
               .. \
               . \
               snippets \
               includes

excludedirs += ../../../examples/widgets/doc

imagedirs   += images

defines     += QT_FEATURE_batch_test_support

# Add a thumbnail for examples that do not have images
manifestmeta.thumbnail.names = "QtTestLib/Chapter *"

navigation.landingpage = "Qt Test"
navigation.cppclassespage = "Qt Test C++ Classes"
# Auto-generate navigation linking based on "Qt Test module topics":
navigation.toctitles = "Qt Test module topics"
navigation.toctitles.inclusive = false

# Enforce zero documentation warnings
warninglimit = 0
