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

project                 = QtLabsStyleKit
description             = Qt Labs StyleKit Reference Documentation
version                 = $QT_VERSION

qhp.projects            = QtLabsStyleKit

qhp.QtLabsStyleKit.file          = qtlabsstylekit.qhp
qhp.QtLabsStyleKit.namespace     = org.qt-project.qtlabsstylekit.$QT_VERSION_TAG
qhp.QtLabsStyleKit.virtualFolder = qtlabsstylekit
qhp.QtLabsStyleKit.indexTitle    = Qt Labs StyleKit
qhp.QtLabsStyleKit.indexRoot     =

qhp.QtLabsStyleKit.subprojects = features manual examples qmltypes

# If we have more topics in this module, we should replace the "manual"
# block with the qtlabsstylekit-toc.qdoc file that will contain the full table
# of contents for the module.

qhp.QtLabsStyleKit.subprojects.features.title = Styling Features
qhp.QtLabsStyleKit.subprojects.features.indexTitle = StyleKit Features Overview
qhp.QtLabsStyleKit.subprojects.features.selectors = none

qhp.QtLabsStyleKit.subprojects.manual.title = Reference Fallback Style
qhp.QtLabsStyleKit.subprojects.manual.indexTitle = Reference Fallback Style
qhp.QtLabsStyleKit.subprojects.manual.selectors = none

qhp.QtLabsStyleKit.subprojects.examples.title = StyleKit Example
qhp.QtLabsStyleKit.subprojects.examples.indexTitle = StyleKit Example
qhp.QtLabsStyleKit.subprojects.examples.selectors = none

qhp.QtLabsStyleKit.subprojects.qmltypes.title = QML Types
qhp.QtLabsStyleKit.subprojects.qmltypes.indexTitle = Qt Labs StyleKit QML Types
qhp.QtLabsStyleKit.subprojects.qmltypes.selectors = qmlclass
qhp.QtLabsStyleKit.subprojects.qmltypes.sortPages = true

depends = qtcore qtgui qtdoc qtqml qtqmlcore qtquick qtquickcontrols

# This module has no documented C++ types, clear the module header
moduleheader =

exampledirs += snippets

# The StyleKit example lives under examples/quickcontrols/, but its docs
# need to link to StyleKit types, which are not available during the
# Quick Controls doc build. We therefore build the example docs here
# and point examples to the example project file.
examples += ../../../../examples/quickcontrols/stylekit/CMakeLists.txt
examplesinstallpath = quickcontrols

{headerdirs,sourcedirs} += ..

imagedirs += images

navigation.landingpage  = "Qt Labs StyleKit"
navigation.qmltypespage = "Qt Labs StyleKit QML Types"

tagfile                 = qtlabsstylekit.tags

macro.labs = "\\note \\e{Types in Qt.labs modules are not guaranteed to remain compatible in future versions.}"

# When building in isolation, qdoc warns about missing dependency index
# files (qtcore, qtgui, etc.) and unresolvable navigation links to
# index.html. These resolve in a full Qt documentation build.
warninglimit = 24
