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
Forum Updated to NodeBB v4.3 + New Features

Integration of header comments as help

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 3 Posters 852 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.
  • J Offline
    J Offline
    json_7
    wrote on 22 Nov 2019, 12:46 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!

    A 1 Reply Last reply 22 Nov 2019, 15:00
    0
    • A Offline
      A Offline
      artwaw
      wrote on 22 Nov 2019, 12:53 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
        22 Nov 2019, 12:46

        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!

        A Offline
        A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on 22 Nov 2019, 15:00 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 25 Nov 2019, 18:24 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
          • A Offline
            A Offline
            artwaw
            wrote on 26 Nov 2019, 12:07 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

            3/5

            22 Nov 2019, 15:00

            • Login

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