How to make Qt Creator to show pop-up documentation of my functions the same way it does for the functions from the Qt library?

前端 未结 2 1148
[愿得一人]
[愿得一人] 2020-12-29 05:45

When you place the mouse pointer over any Qt function/class it shows a pop-up with short description of what it does, taken from the docs in the comment above the function/c

2条回答
  •  别那么骄傲
    2020-12-29 06:43

    Qt Creator requires the generated docs to have some special markers in order to retrieve the tooltip text. I couldn't find a way to insert these markers with Doxygen so I've created a simple script to do it:

    https://github.com/mmmarcos/doxygen2qtcreator

    It's not bulletproof but it allows us to integrate our classes and methods briefs into Qt Creator tooltips.

提交回复
热议问题