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. Generate qdoc html file

Generate qdoc html file

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 1.1k 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.
  • V Offline
    V Offline
    Valerian
    wrote on last edited by kshegunov
    #1

    Hi,

    I have created a custom component for my application and need to generate qdoc and html files which could provide info to other developers using the app. I have used the designated tags in the app i.e., \qmltype, \qmlmethod.

    Could you detail me the steps how to create doc for custom components?

    Kindly advice

    [Moved to Tools ~kshegunov]

    1 Reply Last reply
    0
    • kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #2

      Hi,
      Use:

      TEMPLATE = aux
      QMAKE_DOCS = /path/to/my/documentation/config/file.qdocconf
      

      in a project file to generate a target for building the documentation. Issue make docs to actually build it.

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      1
      • V Offline
        V Offline
        Valerian
        wrote on last edited by
        #3

        @kshegunov
        Could you please provide me an example of qdocconf file along with a sample project?

        kshegunovK 1 Reply Last reply
        0
        • V Valerian

          @kshegunov
          Could you please provide me an example of qdocconf file along with a sample project?

          kshegunovK Offline
          kshegunovK Offline
          kshegunov
          Moderators
          wrote on last edited by kshegunov
          #4

          Hi,
          Sorry for the delay I missed the notification somehow. Anyway, it exactly as I've posted it you just set the QMAKE_DOCS with the path to the qdoc configuration file. Here's a sample; it's a module so ignore most of it take a look at the project file and the doc folder.

          Read and abide by the Qt Code of Conduct

          1 Reply Last reply
          2

          • Login

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