[Interest] malloc error with Qt5.9
Charles-Elie Gentil
mail at jiyuusoft.net
Fri Jun 9 10:49:05 CEST 2017
Hello,
Thank you for your help and your idea ;-)
I installed Kubuntu with Qt 5.9.
I reproduced the issue and I found the line where I have the problem :
QFontDatabase fontDatabase;
fontDatabase.addApplicationFont(QString(":/common/fonts/comic.ttf"));
But I don’t know how make differently …
The font is correctly installed but I have this memory leak…
I have tested with this :
QFontDatabase fontDB;
if (!fontDB.families().contains("Comic Sans MS", Qt::CaseInsensitive)){
fontDB.addApplicationFont(QString(":/common/fonts/comic.ttf"));
}
But the problem is the same.
Best regards,
Charlie
mail at jiyuusoft.net
http://blog.jiyuusoft.net
> Le 3 juin 2017 à 19:33, Thiago Macieira <thiago.macieira at intel.com> a écrit :
>
> On Saturday, 3 June 2017 08:14:44 PDT Charles-Elie Gentil wrote:
>> Hello,
>>
>>
>> Unfortunately I work with Mac OS Sierra and Valgrind isn’t compatible with
>> it…
>>
>> Do you have an idea ?
>
> Run your program with Valgrind in another OS then.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
> Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170609/ef62b32b/attachment.html>
More information about the Interest
mailing list