Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to display a Halcon image on Qt Quick Form?

How to display a Halcon image on Qt Quick Form?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 2 Posters 2.0k Views
  • 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.
  • Z Offline
    Z Offline
    zhangXianxiang
    wrote on last edited by
    #1

    There are some problems that cannot be solved. The specific description is as follows:
    Now I have a set of Halcon images that need to be displayed on my Qt Quick form,I don't know how to solve this problem.

         I  looked the Qt example code of Halcon.    /* (path :C:\Users\Public\Documents\MVTec\halcon-18.05-progress\examples\CPP\Qt\Matching) */(QHalconWindow Inherited from QWidget, i think cant't use in QML)
         But I  think this example will not work with my QML project.
         So I'd like to ask if you have a suitable solution or sample code for reference?
    
     OS :     Windows10     home 64bit
     Qt Version:      5.10.1
     Halcon Version:  18.05
     Compiler Version:   msvc2015 64bit
     Hardware informations:
     CPU:    intel-core i7 6700HQ
     GPU:    nvdia GTX960M
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Is that SDK available somewhere ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Z 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Is that SDK available somewhere ?

        Z Offline
        Z Offline
        zhangXianxiang
        wrote on last edited by
        #3

        @SGaist Halcon18.05 must be installed first,
        /* (path :C:\Users\Public\Documents\MVTec\halcon-18.05-progress\examples\CPP\Qt\Matching)
        OS: Windows .But This is based on QWidget,Not Qt Quick.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Extract the processing part and integrate it with your QtQuick application.

          See Overview - QML and C++ Integration chapter in Qt's documentation.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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