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

project                 = QtGui
description             = Qt GUI Reference Documentation
version                 = $QT_VERSION

examplesinstallpath     = gui

qhp.projects            = QtGui

qhp.QtGui.file         = qtgui.qhp
qhp.QtGui.namespace           = org.qt-project.qtgui.$QT_VERSION_TAG
qhp.QtGui.virtualFolder       = qtgui
qhp.QtGui.indexTitle          = Qt GUI
qhp.QtGui.indexRoot           =

qhp.QtGui.filterAttributes    = qtgui $QT_VERSION qtrefdoc
qhp.QtGui.customFilters.Qt.name = QtGui $QT_VERSION
qhp.QtGui.customFilters.Qt.filterAttributes = qtgui $QT_VERSION

qhp.QtGui.subprojects         = classes
qhp.QtGui.subprojects.classes.title = C++ Classes
qhp.QtGui.subprojects.classes.indexTitle = Qt GUI C++ Classes
qhp.QtGui.subprojects.classes.selectors = class fake:headerfile
qhp.QtGui.subprojects.classes.sortPages = true

tagfile                 = ../../../doc/qtgui/qtgui.tags

depends += \
    qtcore \
    qtimageformats \
    qtmacextras \
    qtmultimedia \
    qtnetwork \
    qtopengl \
    qtplatformheaders \
    qtsvg \
    qtqml \
    qtquick \
    qtwidgets \
    qtdoc \
    qmake \
    qtcmake \
    qttestlib

headerdirs  += ..

sourcedirs  += .. \
               ../../../examples/gui/doc/src \
               src/includes

exampledirs += ../../../examples/gui \
               ../../../examples/vulkan \
               snippets

imagedirs   += images \
               ../../../examples/gui/doc/images \
               ../../../doc/src/images

# Included in qttestlib.qdocconf instead
excludefiles += ../kernel/qtestsupport_gui.cpp

manifestmeta.highlighted.names      = "QtGui/Analog Clock Window Example"

navigation.landingpage = "Qt GUI"
navigation.cppclassespage = "Qt GUI C++ Classes"

# Ignore warnings about undocumented enum values for the QGradient presets
spurious += "Undocumented enum item '.*' in QGradient::Preset"

# \svgcolor {#ffdead}
macro.svgcolor.HTML = "<div style=\"padding:10px;color:#fff;background:\1;\"></div>"
