Qt Creator: Can we copy the list of C++ classes shown in "Class View" to the clipboard or output to a text file?
-
It would be a nice feature to have, either with fully-qualified names or a kind of tree structure. My project has about 200 different classes, but they have very short definitions.Usually, several are defined in a single header.
It seems that they are all shown fine in Class View of Qt Creator, but I don't know how to get the output into a text file.
Or is there a different tool I could use (clang, for example)?
-
It would be a nice feature to have, either with fully-qualified names or a kind of tree structure. My project has about 200 different classes, but they have very short definitions.Usually, several are defined in a single header.
It seems that they are all shown fine in Class View of Qt Creator, but I don't know how to get the output into a text file.
Or is there a different tool I could use (clang, for example)?
@Robert-Hairgrove I made it a habit to document everything and add Doxygen do my build run in QtCreator.
For a single run and for what you say you need a clean doxygen run would suffice (but also you will spend some time configuring it for the first time). -
@Robert-Hairgrove I made it a habit to document everything and add Doxygen do my build run in QtCreator.
For a single run and for what you say you need a clean doxygen run would suffice (but also you will spend some time configuring it for the first time).@artwaw Thanks! I think this is probably the best way to do it since I already had started documenting all of the header files in Doxygen style, so it won't be much effort to finish adding a
@file
comment to each header and let Doxygen generate the class list. -