Qt supports VCG ?

  • Hi,
    I am a newbie. I am creating a software using Qt 4.7.0 that will display compiler-related graphs. I see options like Grapviz, VCG etc. I want to use VCG. Does Qt support VCG ?
    Kindly help me with related work / code snippets.


  • Qt doesn't have built in support for those. There is no objectien to linking to any vcg libraries that may be available, provided their licenses allow that. In that case you can probably have one of these libraries produce a bitmap that you can put into QImage or QPixmap. If that isn't available,
    call the executable using QProcess and display the resulting image using QImage. If you're lucky, someone wrote a Qt plugin (you could do that as well, by the way :P).

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.