Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QDoc & generatelist
Qt 6.11 is out! See what's new in the release blog

QDoc & generatelist

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    feldifux
    wrote on last edited by
    #1

    Hi,
    I'm having troubles in getting the qdoc command \generatelist to work..

    I have 2 files looking like this:
    QmlTestComponent.qml with the following content:
    @
    import QtQuick 1.1

    /*!
    \qmlclass QMLModule1TestComponent
    \ingroup group1
    \brief A test component.
    */
    Item {

    }
    @

    and a
    group1.qdoc:
    @
    /*!
    \group group1
    \title Group 1 related components

    Contained components in this group:
    \generatelist related
    */
    @

    From what I have read in the qdoc documentation, the output format group1.html should contain a list of all components having @\ingroup group1@ defined. However, nothing is displayed.

    The same behavior for modules and inmodule, which also displays no results although I have components connected with the inmodule command.

    I tested it on Windows MSVC2010 and MinGW, for Qt versions 4.7.4 and 4.8.1, both with the same effect.

    Any ideas what I'm doing wrong here?

    Founder of Felgo SDK - http://felgo.com/qt

    Felgo simplifies

    • Mobile App Dev with Qt esp. iOS & Android
    • Game Development with Qt

    What others say

    Felgo scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

    1 Reply Last reply
    0
    • F Offline
      F Offline
      feldifux
      wrote on last edited by
      #2

      After some more testing, I found out the following:
      It depends whether the qdoc code is saved as a .qdoc or .qml file.
      If the above code is saved as qdoc file (without the item definition and QtQuick import of course), the generatelist command works as expected. If saved as qml file, the component is not included in the list!

      Can anybody else confirm this is a bug of Qt4 (tested with 4.8.1 and 4.7.4)?

      I'm also wondering if this is fixed in Qt5?

      Founder of Felgo SDK - http://felgo.com/qt

      Felgo simplifies

      • Mobile App Dev with Qt esp. iOS & Android
      • Game Development with Qt

      What others say

      Felgo scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved