@@ -916,24 +916,24 @@ void LogQtInfo()
916
916
#else
917
917
const std::string qt_link{" dynamic" };
918
918
#endif
919
- LogPrintf (" Qt %s (%s), plugin=%s\n " , qVersion (), qt_link, QGuiApplication::platformName ().toStdString ());
919
+ LogInfo (" Qt %s (%s), plugin=%s\n " , qVersion (), qt_link, QGuiApplication::platformName ().toStdString ());
920
920
const auto static_plugins = QPluginLoader::staticPlugins ();
921
921
if (static_plugins.empty ()) {
922
- LogPrintf (" No static plugins.\n " );
922
+ LogInfo (" No static plugins.\n " );
923
923
} else {
924
- LogPrintf (" Static plugins:\n " );
924
+ LogInfo (" Static plugins:\n " );
925
925
for (const QStaticPlugin& p : static_plugins) {
926
926
QJsonObject meta_data = p.metaData ();
927
927
const std::string plugin_class = meta_data.take (QString (" className" )).toString ().toStdString ();
928
928
const int plugin_version = meta_data.take (QString (" version" )).toInt ();
929
- LogPrintf (" %s, version %d\n " , plugin_class, plugin_version);
929
+ LogInfo (" %s, version %d\n " , plugin_class, plugin_version);
930
930
}
931
931
}
932
932
933
- LogPrintf (" Style: %s / %s\n " , QApplication::style ()->objectName ().toStdString (), QApplication::style ()->metaObject ()->className ());
934
- LogPrintf (" System: %s, %s\n " , QSysInfo::prettyProductName ().toStdString (), QSysInfo::buildAbi ().toStdString ());
933
+ LogInfo (" Style: %s / %s\n " , QApplication::style ()->objectName ().toStdString (), QApplication::style ()->metaObject ()->className ());
934
+ LogInfo (" System: %s, %s\n " , QSysInfo::prettyProductName ().toStdString (), QSysInfo::buildAbi ().toStdString ());
935
935
for (const QScreen* s : QGuiApplication::screens ()) {
936
- LogPrintf (" Screen: %s %dx%d, pixel ratio=%.1f\n " , s->name ().toStdString (), s->size ().width (), s->size ().height (), s->devicePixelRatio ());
936
+ LogInfo (" Screen: %s %dx%d, pixel ratio=%.1f\n " , s->name ().toStdString (), s->size ().width (), s->size ().height (), s->devicePixelRatio ());
937
937
}
938
938
}
939
939
0 commit comments