Details
Description
This is bugging me for quite a long time complicating testing applications with different themes. I assume it's due to QPlatformThemeFactory::create and QGuiApplicationPrivate::platform_integration->createPlatformTheme being tried in separate for loops at https://github.com/qt/qtbase/blob/a2e60ebee3737548d1be14fdbb39b08c515ae602/src/gui/kernel/qguiapplication.cpp#L1365-L1391. If they were both tried in one for loop, this wouldn't be an issue.