Skip to content

cvv compile err #2001

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dbyoung720 opened this issue Feb 18, 2019 · 0 comments
Closed

cvv compile err #2001

dbyoung720 opened this issue Feb 18, 2019 · 0 comments

Comments

@dbyoung720
Copy link

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?

Steps to reproduce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants