- 
    Bug 
- 
    Resolution: Invalid
- 
     Not Evaluated Not Evaluated
- 
    None
- 
    6.3.0 Beta1
- 
    None
QAndroidPlatformFontDatabase::populateFontDatabase() is called six times during app startup.
This should be avoided by the following code in QFontDatabasePrivate::ensureFontDatabase()
QFontDatabasePrivate *QFontDatabasePrivate::ensureFontDatabase()
{
    QFontDatabasePrivate *d = privateDb();
    if (d->count == 0) {
        if (Q_UNLIKELY(qGuiApp == nullptr || QGuiApplicationPrivate::platformIntegration() == nullptr))
            qFatal("QFontDatabase: Must construct a QGuiApplication before accessing QFontDatabase");
        initializeDb();
    }
    return d;
}
but somehow this does not work. d->count is zero when we enter this method. When we exit it, it is 86. Next time we encounter the check, it is zero again. I have no idea what is going on.