Unsolved Memory leak with addApplicationFont(QString)
-
Hello,
For my application, I want to use the font "Comic Sans MS". For this, I use in the main function this line:
QFontDatabase fontDB; If (! fontDB.families().contains("Comic Sans MS", Qt :: CaseInsensitive)) { fontDB.addApplicationFont(QString (":/common/fonts/comic.ttf")); }
Unfortunately, I find that in my case, addApplicationFont (QString) creates a memory leak (thanks Valgrind ^^).
Do you have any idea why?
In advance, thank you a lot.
Charlie
-
Hi! Maybe it's related to the old QTBUG-59959. If so, please re-open the bug, otherwise you can file a new one.