I’m trying to calibrate my camera using OpenCV library in QT Creator. I’m trying to display a
cv::Vec in QT using
qDebug() console or
QPlainTextEdit so I could see the result in my GUI, but I have no idea how to do it. I’ve been trying with QString(), QString::number() etc. and nothing seems to work for me.
cv::Matx33f Var1(Matx33f::eye()); cv::Vec<float, 5> Var2(0, 0, 0, 0, 0); ui->calibParameters->appendPlainText(**QString()... "no idea how to convert"** );
No matching conversion for functional-style cast from 'cv::Matx33f' (aka 'Matx<float, 3, 3>') to 'QString' No matching conversion for functional-style cast from 'Vec<float, 5>' to 'QString'
Can someone help me with my ‘casting’ problem?
Thank you in advance