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

project                 = Qt3D
description             = Qt 3D Reference Documentation
version                 = $QT_VERSION

examplesinstallpath     = qt3d

indexes +=  $QT_INSTALL_DOCS/qtcore/qtcore.index \
            $QT_INSTALL_DOCS/qtgui/qtgui.index \
            $QT_INSTALL_DOCS/qtqml/qtqml.index \
            $QT_INSTALL_DOCS/qtquick/qtquick.index \
            $QT_INSTALL_DOCS/qmake/qmake.index

qhp.projects            = Qt3D

qhp.Qt3D.file                = qt3d.qhp
qhp.Qt3D.namespace           = org.qt-project.qt3d.$QT_VERSION_TAG
qhp.Qt3D.virtualFolder       = qt3d
qhp.Qt3D.indexTitle          = Qt 3D
qhp.Qt3D.indexRoot           =

qhp.Qt3D.filterAttributes                   = qt3d $QT_VERSION qtrefdoc
qhp.Qt3D.customFilters.Qt.name              = Qt3D $QT_VERSION
qhp.Qt3D.customFilters.Qt.filterAttributes  = qt3d $QT_VERSION

qhp.Qt3D.subprojects                    = classes qmltypes

qhp.Qt3D.subprojects.classes.title      = C++ Classes
qhp.Qt3D.subprojects.classes.indexTitle = Qt 3D C++ Classes
qhp.Qt3D.subprojects.classes.selectors  = class fake:headerfile
qhp.Qt3D.subprojects.classes.sortPages  = true

qhp.Qt3D.subprojects.qmltypes.title      = QML Types
qhp.Qt3D.subprojects.qmltypes.indexTitle = Qt 3D QML Types
qhp.Qt3D.subprojects.qmltypes.selectors  = qmlclass
qhp.Qt3D.subprojects.qmltypes.sortPages  = true

tagfile                 = qt3d.tags

depends                 += qtcore qtgui qtqml qtquick qtdoc

headerdirs += . \
              ../render \
              ../core \
              ../logic \
              ../plugins \
              ../quick3d/quick3d \
              ../input

# Exclude private header files from the documentation build
excludefiles += "*_p.h"

sourcedirs += . \
              ../render \
              ../core \
              ../logic \
              ../plugins \
              ../quick3d/quick3d \
              ../input

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

examples.fileextensions       += "*.fraq *.geom *.vert"
examples.imageextensions      += "*.png"

#excludedirs +=
macro.TODO = " "
imagedirs   += images \
               ../../examples/qt3d/shadow-map-qml/doc/images \
               ../../examples/qt3d/basicshapes-cpp/doc/images \
               ../../examples/qt3d/planets-qml/doc/images \
               ../../examples/qt3d/wireframe/doc/images \
               ../../examples/qt3d/audio-visualizer-qml/doc/images

Cpp.ignoretokens     += QT3DINPUTSHARED_EXPORT \
                        QT3DCORESHARED_EXPORT \
                        QT3DLOGIC_PRIVATE_EXPORT \
                        QT3DLOGICSHARED_EXPORT \
                        QT3DRENDERSHARED_EXPORT \
                        QT3DRENDERSHARED_PRIVATE_EXPORT \
                        QT3DQUICKSHARED_PRIVATE_EXPORT

Cpp.ignoredirectives += Q_DECLARE_LOGGING_CATEGORY

manifestmeta.highlighted.names = "Qt3D/Qt 3D: Audio Visualizer Example" \
                                 "Qt3D/Qt 3D: Planets QML Example"

manifestmeta.thumbnail.names += "Qt3D/Qt 3D: Deferred Renderer C++ Example"

navigation.landingpage = "Qt 3D"
navigation.cppclassespage = "Qt 3D C++ Classes"
navigation.qmltypespage = "Qt 3D QML Types"
