【HTuple与QString】
(QString)hv_result[0].S(); //HTuple转QString hv_ImagePath=modelImagePath.toStdString().c_str(); //QString转HTuple
【HTuple与int】
hv_isOCRs_ROI1=isOCRs_ROI1; //int转HTuple,直接用 isOCRs_ROI1=hv_isOCRs_ROI1[0].I(); //HTuple转int
标签:类型转换,Qt,int,HTuple,hv,Halcon,ROI1,isOCRs,QString From: https://www.cnblogs.com/xixixing/p/17131188.html