how to use doxygen&graphviz and make it automatically run in QT creator



First,we need to install doxygen and doxygen-gui.

then this gui appeard.

how to use doxygen&graphviz and make it automatically run in QT creator

fill in the blank and press next.

Project name: janus

Project synopsis: ...

version: 1.0

finally. run doxygen, then the index.html file is generated.

Second, setup command and arguments in QT

how to use doxygen&graphviz and make it automatically run in QT creator

Third, install graphviz and change doxygen settings to make it work.

sudo apt-get install graphviz

 

  • Modify Doxyfile. To generate a callgraph,  change the following properties.
    HAVE_DOT               = YES
    EXTRACT_ALL            = YES
    EXTRACT_PRIVATE        = YES
    EXTRACT_STATIC         = YES
    CALL_GRAPH             = YES
  • MACRO_EXPANSION = YES//open macro expansion

run doxygen doxygen_configur_file

reference website:

http://www.stack.nl/~dimitri/doxygen/index.html

 

 

 

 

 

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: