Closed
Description
System information (version)
- OpenCV => New
- Operating System / Platform => WIN7X64
- Compiler => VS2017
Detailed description
cvv\src\stfl,function shortenString is compile error:
QString shortenString(QString &str, int maxLength, bool cutEnd, bool fill)
{
if (str.size() > maxLength)
{
if (cutEnd)
{
str = str.mid(0, maxLength - 1) + u8"…"; // Error
}
else
{
str = u8"…" + // Error
str.mid(str.size() + 1 - maxLength, str.size());
}
}
else if (fill)
{
str = str + QString(maxLength - str.size(), ' ');
}
return str;
}
Do not know why?