Important: Please read the Qt Code of Conduct -

Why does QDoc only recognize some functions in my .h file?

  • When I added annotations to some functions in the .cpp file, some succeeded, but others failed. An error occurred: [I found a / *! ... * / comment, but there was no topic command (e.g., '\ fn', '\ page') in the comment and no function definition following the comment.]
    Why is this happening and how can I solve it?

  • Qt Champions 2019

    @Cornice Can you show the code with the comments?
    The error message says: "but there was no topic command (e.g., '\ fn', '\ page')"

Log in to reply