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

project                 = QtQuickControls
description             = Qt Quick Controls Reference Documentation
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  = 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 = qtcore qtdoc qtgui qtwidgets qtqml qtquick qtquicklayouts qtquickdialogs qtquickextras

# 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 \
    snippets
examplesinstallpath = quick/controls

headerdirs += ..

sourcedirs += ..

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

excludefiles += ../TableView.qml \
                ../TreeView.qml \
                ../Styles/Base/TableViewStyle.qml \
                ../Styles/Base/TreeViewStyle.qml

excludedirs += ../Styles/Desktop \
               ../Styles/Android \
               ../Styles/iOS

imagedirs += images \
    ../../extras/doc/images

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

tagfile                 = qtquickcontrols.tags
