Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt supports VCG ?
Qt 6.11 is out! See what's new in the release blog

Qt supports VCG ?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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.

    Thanks

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Franzk
      wrote on last edited by
      #2

      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).

      "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved