qt+halcon12+win732位配置

打开qt,新建项目,在Pro文件下添加(qt下载vs编译器的):

INCLUDEPATH += $$quote(C:\Program Files\MVTec\HALCON-12.0\include\halconcpp)
INCLUDEPATH += $$quote(C:\Program Files\MVTec\HALCON-12.0\include)
 
  
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\halcon.lib)
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\halconc.lib)
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\halconcpp.lib)
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\halconcpp10.lib)
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\halconcpp10xl.lib)
 
  
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\halconcppxl.lib)
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\halconcxl.lib)
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\halconx.lib)
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\halconxl.lib)
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\halconxxl.lib)
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\hdevenginecpp.lib)
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\hdevenginecpp10.lib)
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\hdevenginecpp10xl.lib)
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\hdevenginecppxl.lib)
 
  
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\hdevenginex.lib)
LIBS += $$quote(C:\Program Files\MVTec\HALCON-12.0\lib\x86sse2-win32\hdevenginexxl.lib)

路径换成自己的安装路径,点击构建执行qmake,配置完成

你可能感兴趣的:(机器视觉)