@@ -916,24 +916,24 @@ void LogQtInfo()
916916#else
917917 const std::string qt_link{" dynamic" };
918918#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 ());
920920 const auto static_plugins = QPluginLoader::staticPlugins ();
921921 if (static_plugins.empty ()) {
922- LogPrintf (" No static plugins.\n " );
922+ LogInfo (" No static plugins.\n " );
923923 } else {
924- LogPrintf (" Static plugins:\n " );
924+ LogInfo (" Static plugins:\n " );
925925 for (const QStaticPlugin& p : static_plugins) {
926926 QJsonObject meta_data = p.metaData ();
927927 const std::string plugin_class = meta_data.take (QString (" className" )).toString ().toStdString ();
928928 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);
930930 }
931931 }
932932
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 ());
935935 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 ());
937937 }
938938}
939939
0 commit comments