Important: Please read the Qt Code of Conduct -

Display Halcon Image in QGraphicsView

  • Hello,
    I am trying to implement the display of a halcon image in a QGraphicsview item. Has anyone been able to do this?

    I have tried looking at the Matching Example given in the halcon examples directory(\examples\cpp\qt\Matching) but it is a little too advanced for me to understand.

    Any help is appreciated

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Are the examples available somewhere ?

  • @Skamath The Halcon example using Qt is very simple but it uses the Halcon Graphics Window to show images, regions and XLDs. If you think that it is complicated I recommend you to use the Halcon Graphics Window instead of trying to build your own Graphics Window based on QGraphicsView.