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 = qmltypes

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
