Hi everyone,
I'm trying to transit an Qt application from qt 4.x to qt 5, and encountered a problem:
error: QMimeSource: No such file or directory
{
const char* fmt;
for (int i=0; (fmt = format(i)); i++) {
if (!qstricmp(mimeType,fmt))
return true;
}
return false;
}
bool QMimeSource::provides(const char* mimeType) const
{
const char* fmt;
for (int i=0; (fmt = format(i)); i++) {
if (!qstricmp(mimeType,fmt))
return true;
}
return false;
}
To copy to clipboard, switch view to plain text mode
I search the problem in the Internet, someone says replace QMimeSource with QMimeData, but it doesn't work!
Do you have any suggestion? Thanks in advance!
Bookmarks