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

project                 = QtSql
description             = Qt SQL Reference Documentation
version                 = $QT_VERSION

examplesinstallpath     = sql

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

qhp.projects            = QtSql

qhp.QtSql.file            = qtsql.qhp
qhp.QtSql.namespace           = org.qt-project.qtsql.$QT_VERSION_TAG
qhp.QtSql.virtualFolder       = qtsql
qhp.QtSql.indexTitle          = Qt SQL
qhp.QtSql.indexRoot           =

qhp.QtSql.subprojects = manual classes
qhp.QtSql.subprojects.manual.title = Qt SQL
qhp.QtSql.subprojects.manual.indexTitle = Qt SQL module topics
qhp.QtSql.subprojects.manual.type = manual

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

tagfile                 = ../../../doc/qtsql/qtsql.tags

depends                 += qtcore qtwidgets qtdoc qmake qtcmake

headerdirs  += ..

sourcedirs  += .. \
               ../../../examples/sql/doc/src

exampledirs += ../../../examples/sql \
               ../ \
               . \ \
               snippets

imagedirs   += images \
               ../../../examples/sql/doc/images

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

# Highlighted examples in Data Processing & IO category
manifestmeta.highlighted.names = \
    "QtSql/Master Detail Example" \
    "QtSql/SQL Browser"

# Enforce zero documentation warnings
warninglimit = 0
