@JKSH @SGaist Well, i did this in my code in main.cpp
QString fontPath = ":/Fonts/Ubuntu-R.ttf";
int fontId = QFontDatabase::addApplicationFont(fontPath);
if (fontId != -1)
{
QFont font("MyFont");
app.setFont(font);
}
It did works, but the error appears, this time only the first line terminal (Before appeared n times). But the program normally performs. Can anyone tell me why the error (FontDatabase) persist?
Ps.: I build my app with qt libraries STATIC. Exists another way to fix the font problem in the project without this way that i did?