Merge pull request #3614 from cwreynolds:Unicode-fix-for-addText-2

This commit is contained in:
Vadim Pisarevsky 2015-01-19 10:50:14 +00:00
commit 28dd3aae79

View File

@ -117,7 +117,7 @@ CV_IMPL void cvAddText(const CvArr* img, const char* text, CvPoint org, CvFont*
"putText",
autoBlockingConnection(),
Q_ARG(void*, (void*) img),
Q_ARG(QString,QString(text)),
Q_ARG(QString,QString::fromUtf8(text)),
Q_ARG(QPoint, QPoint(org.x,org.y)),
Q_ARG(void*,(void*) font));
}