Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-66528

qdoc/webxml: Too many "const" generated into webxml files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.11
    • Build tools: qdoc
    • None
    • Kunbuntu 17.10, gcc 7.2, libclang 5.0 (Qt Creator)

    Description

      qdoc generates "const const" for some function signatures :

      abstractanimation.webxml:            <function threadsafety="unspecified" name="currentTime" fullname=
      "QAbstractAnimation::currentTime" href="qabstractanimation.html#currentTime-prop" status="active" acces
      s="public" location="qabstractanimation.h" filepath="/home/frkleint/dev/qt-511/qtbase/include/QtCore/..
      /../src/corelib/animation/qabstractanimation.h" lineno="95" virtual="non" meta="plain" const="true" sta
      tic="false" overload="false" delete="false" default="false" final="false" override="false" associated-p
      roperty="currentTime" type="int" signature="int currentTime() const const">
      

      as well as trailing const for some parameters:

      qabstractxmlnodemodel.webxml:                <parameter type="QAbstractXmlReceiver *const" name="receiv
      er" default=""/>
      

      This might also affect the normal Qt doc generation?

      Attachments

        Issue Links

          Activity

            People

              treinio Topi Reiniƶ
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: