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. Tooltip not displaying doxygen information
Forum Updated to NodeBB v4.3 + New Features

Tooltip not displaying doxygen information

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

    I'm running Qt Creator 4.11.0 with C++ -> ClangCodeModel plugin enabled.

    Per https://bugreports.qt.io/browse/QTCREATORBUG-4557?focusedCommentId=388140&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-388140, if I hover over a function with brief doxygen info, it should show it.

    Alas, it doesn't. All I see is the return type, the function name and function parameters.

    aha_1980A 1 Reply Last reply
    0
    • H Harjit

      I'm running Qt Creator 4.11.0 with C++ -> ClangCodeModel plugin enabled.

      Per https://bugreports.qt.io/browse/QTCREATORBUG-4557?focusedCommentId=388140&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-388140, if I hover over a function with brief doxygen info, it should show it.

      Alas, it doesn't. All I see is the return type, the function name and function parameters.

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

      Hi @Harjit,

      please provide a minimal example where this does not work. You need it to create a bugreport.

      You are using the latest Creator release (4.11)?

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Harjit
        wrote on last edited by
        #3

        Function I'm referring to:
        9caf2110-15d9-4073-bdfd-e2894a767ca3-image.png

        Tooltip I see:
        73fb3076-2d4e-4976-a436-4a112a1f1a7e-image.png

        ClangCodeModel Plugin is enabled:
        23aa4892-51e6-4fff-af10-848d9531d32c-image.png

        Is this sufficient for me to file a bug report?

        aha_1980A 1 Reply Last reply
        0
        • H Harjit

          Function I'm referring to:
          9caf2110-15d9-4073-bdfd-e2894a767ca3-image.png

          Tooltip I see:
          73fb3076-2d4e-4976-a436-4a112a1f1a7e-image.png

          ClangCodeModel Plugin is enabled:
          23aa4892-51e6-4fff-af10-848d9531d32c-image.png

          Is this sufficient for me to file a bug report?

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

          @Harjit It's not, because we need an example to reproduce.

          Otherwise its impossible to locate the bug.

          Regards

          Qt has to stay free or it will die.

          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by mrjj
            #5

            Hi
            Also did you use
            https://github.com/mmmarcos/doxygen2qtcreator
            and the commands in "How to use it" ran without errors so
            you did in fact tag the html and compiled into Creator docs ?

            Not needed. Its fully integrated.

            H 1 Reply Last reply
            0
            • mrjjM mrjj

              Hi
              Also did you use
              https://github.com/mmmarcos/doxygen2qtcreator
              and the commands in "How to use it" ran without errors so
              you did in fact tag the html and compiled into Creator docs ?

              Not needed. Its fully integrated.

              H Offline
              H Offline
              Harjit
              wrote on last edited by
              #6

              @mrjj I did not use doxygen2qtcreator.

              My reading of the bug report was that I shouldn't have to use doxygen2qtcreator and that this capability was provided by the ClangCodeModel plugin and new code.

              @aha_1980 I tried to attach a test project in a zip file and I get an "ERROR You do not have enough privileges for this action."

              What I did notice is that if the function is in the same .c file, then I get the function declaration and the brief line:
              759a0833-89e0-4580-ad3b-a55abd0789b5-image.png

              But if the function is in a different .c file, then I only get the function declaration:
              c35c26b4-220e-4354-96b4-c1265fc581c8-image.png

              79d9ec9c-e6f7-4c31-aad3-bb90aea6dcff-image.png

              The CMakeLists.txt:
              01aa69c5-8a00-4b67-8034-251f6bf33661-image.png

              1 Reply Last reply
              1
              • H Offline
                H Offline
                Harjit
                wrote on last edited by
                #7

                @Harjit said in Tooltip not displaying doxygen information:

                The CMakeLists.txt:

                I added this info. to https://bugreports.qt.io/browse/QTCREATORBUG-4557?focusedCommentId=388140&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-388140 but the bug is closed.

                Do I need to open a new bug or is the comment sufficient?

                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