QDoc cannot find qml inherit type
-
So I try to setup documentation of our custom qml controls (tested with Qt 5.15 and Qt 6.2)but it seems that inherits does only work for c++? QQC 1 are written in QML and do not contain this statement: https://code.qt.io/cgit/qt/qtquickcontrols.git/tree/src/controls/Button.qml but still have clickable inherits https://doc.qt.io/qt-5/qml-qtquick-controls-button.html. QQC 2 are written in c++ and contains this statement: https://code.woboq.org/qt5/qtdeclarative/src/quick/items/qquicktextedit.cpp.html
descripton = AAAAAAAAAAAAA language = Cpp project = AAAAAAAAAAAAA depends = * generateindex = false syntaxhighlighting = true # where your source,header and inc files are headerdirs += ../Apps/AAA/src headerdirs += ../Apps/AAA/explorer includepaths += ../Apps/AAA/src includepaths += ../Apps/AAA/explorer sourcedirs += ../Apps/AAA/src sourcedirs += ../Apps/AAA/qml sourcedirs += ../Apps/AAA/explorer sourcedirs += ../Docs # where you store images that are used in your qdoc comments imagedirs = ./images # what kind of sources should be processed sources.fileextensions += "*.qdoc *.cpp *.qml" # what kind of headers should be processed headers.fileextensions += "*.h" syntaxhightlighting = true sourceencoding = UTF-8 outputencoding = UTF-8 # where to put the result outputdir = ./html # what format to use for generating documentation outputformats = HTMLColorImage.qml
import QtQuick 2.13 import QtQuick.Controls.Material 2.3 import QtGraphicalEffects 1.0 /*! \qmltype ColorImage \inqmlmodule Common \inherits Image \brief An Image whose color can be specified. The ColorImage component extends the Image component by the color property. */ Image { id: root /*! \qmlproperty color ColorImage::color The color of the image. */ property color color: Material.color(Material.Grey, Material.Shade800) layer { enabled: true effect: ColorOverlay { color: root.color } } }