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

project                 = QtQuickControls
description             = Qt Quick Controls Reference Documentation
url                     = http://qt-project.org/doc/qt-$QT_VER
version                 = $QT_VERSION

qhp.projects            = QtQuickControls

qhp.QtQuickControls.file          = qtquickcontrols.qhp
qhp.QtQuickControls.namespace     = org.qt-project.qtquickcontrols.$QT_VERSION_TAG
qhp.QtQuickControls.virtualFolder = qtquickcontrols
qhp.QtQuickControls.indexTitle    = Qt Quick Controls
qhp.QtQuickControls.indexRoot     =
#qhp.QtQuickControls.extraFiles = style/qtquickcontrols.css

qhp.QtQuickControls.filterAttributes    = qtquickcontrols $QT_VERSION qtrefdoc
qhp.QtQuickControls.customFilters.Qt.name = QtQuickControls $QT_VERSION
qhp.QtQuickControls.customFilters.Qt.filterAttributes = qtquickcontrols $QT_VERSION

qhp.QtQuickControls.subprojects = qtquickcontrolsqmltypes qtquickcontrolsstyles

qhp.QtQuickControls.subprojects.qtquickcontrolsqmltypes.title      = Controls QML Types
qhp.QtQuickControls.subprojects.qtquickcontrolsqmltypes.indexTitle = Qt Quick Controls QML Types
qhp.QtQuickControls.subprojects.qtquickcontrolsqmltypes.selectors  = fake:qmlclass # cannot choose qmltypes from a specific group QTBUG-32985
qhp.QtQuickControls.subprojects.qtquickcontrolsqmltypes.sortPages  = true

qhp.QtQuickControls.subprojects.qtquickcontrolsstyles.title      = Qt Quick Controls Styles Structure
qhp.QtQuickControls.subprojects.qtquickcontrolsstyles.indexTitle = Qt Quick Controls Styles Structure
qhp.QtQuickControls.subprojects.qtquickcontrolsstyles.type       = manual

depends = qtqml qtquick qtgui qtwidgets qtdoc qtquicklayouts

# Specify the install path under QT_INSTALL_EXAMPLES
# Examples will be installed under quick/controls - 'controls' subdirectory
# is given as part of \example commands
exampledirs += ../../../examples/quick/controls
examplesinstallpath = quick/controls

headerdirs += ../ \
              Styles/Base

sourcedirs += ../ \
              Styles/Base

sources += ../Private/AbstractCheckable.qml \
           ../Private/BasicButton.qml \
           ../Private/FocusFrame.qml \
           ../Private/ModalPopupBehavior.qml \
           ../Private/ScrollBar.qml \
           ../Private/TabBar.qml \
           ../Private/Control.qml \
           ../Private/qquickstyleitem.cpp \
           ../Private/Style.qml \
           ../Private/qquickabstractstyle.h \
           ../Private/qquickabstractstyle.cpp

imagedirs += images

navigation.landingpage = "Qt Quick Controls"
navigation.qmltypespage = "Qt Quick Controls QML Types"
