Hi
the readAll() function in qiodevice is unable to read ttf files.
The lines
QFile res(fileInfo.absoluteFilePath());
QByteArray data = res.readAll();
data gets the correct content of the file is a pdf file or any other file. But it always gets o when trying to read a ttf file. Anyone has any clue.
Bookmarks