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. Integration of header comments as help

Integration of header comments as help

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 3 Posters 841 Views
  • 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.
  • J Offline
    J Offline
    json_7
    wrote on last edited by
    #1

    Hi there,
    QT Creator is really a great software as it provides auto completion of explaining comments, e.g.:
    /**
    *@brief
    *@param
    *@return
    */

    So i woundered if it is possible to bind the comments a developer wrote in a header file (of like i did it) as F1-Help in QT Creator.

    Does anyone know if it is possible?
    Thanks, Cheers!

    aha_1980A 1 Reply Last reply
    0
    • artwawA Offline
      artwawA Offline
      artwaw
      wrote on last edited by
      #2

      You'll need to compile them to the QDoc files and add to Qt Creator, if I am not mistaken.

      However, I document header files for use with Doxygen and while working on the project I get hover tolltips from those comments on the go.

      For more information please re-read.

      Kind Regards,
      Artur

      1 Reply Last reply
      3
      • J json_7

        Hi there,
        QT Creator is really a great software as it provides auto completion of explaining comments, e.g.:
        /**
        *@brief
        *@param
        *@return
        */

        So i woundered if it is possible to bind the comments a developer wrote in a header file (of like i did it) as F1-Help in QT Creator.

        Does anyone know if it is possible?
        Thanks, Cheers!

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi @json_7,

        yeah, that's possible if you create a .qch (Qt compiled help) file with either doxygen or qdoc from these comments.

        You will have to google for the exact steps, I've never done that myself.

        Regards

        Qt has to stay free or it will die.

        1 Reply Last reply
        1
        • J Offline
          J Offline
          json_7
          wrote on last edited by
          #4

          Yeah, thank you two. Meanwhile i found out how to do that with doxygen (https://stackoverflow.com/questions/31339007/qtcreator-and-doxygen#34707377).
          When you're looking closer you even can see that QTCreator itself calls these comments "doxygen comments".

          Cheers

          1 Reply Last reply
          4
          • artwawA Offline
            artwawA Offline
            artwaw
            wrote on last edited by
            #5

            A bit OT but I wrote a small guide for integrating Doxygen with Qt Creator https://forum.qt.io/topic/109232/including-doxygen-document-generation-in-the-built-process-with-qt-creator

            For more information please re-read.

            Kind Regards,
            Artur

            1 Reply Last reply
            3

            • Login

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