Compare commits

..

7 Commits

Author SHA1 Message Date
Laurent Trinques 162c402102 Minor 2025-01-25 20:09:31 +01:00
Laurent Trinques c6427cbfc1 Fix previuois commit 2025-01-25 19:54:41 +01:00
Laurent Trinques c4b6939ed6 machine_info.cpp: Minor 2025-01-25 19:37:39 +01:00
Laurent Trinques 2436daa16f machine_info.cpp: Minor 2025-01-25 19:03:33 +01:00
Laurent Trinques 4050e8351e machine_info.cpp: Minor 2025-01-25 14:23:51 +01:00
Laurent Trinques d6f119742d machine_info.cpp: Minor 2025-01-25 14:15:30 +01:00
Laurent Trinques 3e4f3def3e machine_info.cpp: add more informations about OS language and country 2025-01-25 14:00:57 +01:00
+21 -10
View File
@@ -146,9 +146,13 @@ void MachineInfo::send_info_to_debug()
+ " - " + pc.cpu.Architecture
+ " - Version : "+pc.os.name
+ " - Kernel : "+pc.os.kernel;
qInfo()<< " System language:"<< QString(QETApp::langFromSetting().toLatin1());
qInfo()<< "";
qInfo()<< " OS System language:"<< QLocale::system().name();
qInfo()<< " OS System Native Country Name:"<< QLocale::system().nativeCountryName();
qInfo()<< " OS System Native Language Name:"<< QLocale::system().nativeLanguageName();
qInfo()<< "";
qInfo()<< " System language defined in QET configuration:"<< QString(QETApp::langFromSetting().toLatin1());
qInfo()<< " language Path:"<< QString(QETApp::languagesPath().toLatin1());
qInfo()<< " Common Elements Dir:"<< QString(QETApp::commonElementsDir().toLatin1());
qInfo()<< " Common TitleBlock Templates Dir:"<< QString(QETApp::commonTitleBlockTemplatesDir().toLatin1());
@@ -157,18 +161,25 @@ void MachineInfo::send_info_to_debug()
qInfo()<< " Company Elements Dir:"<< QString(QETApp::companyElementsDir().toLatin1());
qInfo()<< " Company TitleBlock Templates Dir:"<< QString(QETApp::companyTitleBlockTemplatesDir().toLatin1());
qInfo()<< " User Location:"<< QString(QETApp::configDir().toLatin1());
qInfo()<< "";
qInfo()<< " For QET configuration-files:";
#if defined(Q_OS_WIN32) || defined(Q_OS_WIN64)
qInfo()<< " App Config Location: see Regedit: HKEY_CURRENT_USER\Software\QElectroTech\";
#else
qInfo()<< " App Config Location:"<< QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation) +".conf/";
#endif
qInfo()<< " for QET configuration-files:";
qInfo()<< " App Config Location:"<< QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation);
qInfo()<< " for data-files (user-/company-collections, titleblocks, etc.):";
qInfo()<< " App Config Location:"<< QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation) +".conf/";
qInfo()<< " For data-files (user-/company-collections, titleblocks, etc.):";
qInfo()<< " App Data Location:"<< QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
qInfo()<< " directory for project stalefiles:";
qInfo()<< " Generic Data Location:"<< QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation);
qInfo()<< " Directory for project stalefiles:";
qInfo()<< " Generic Data Location:"<< QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/stalefiles/QElectroTech/";
// qInfo()<< " App Local DataLocation:"<< QStandardPaths::writableLocation(QStandardPaths::ApplicationsLocation);
// qInfo()<< " Home Location:"<< QStandardPaths::writableLocation(QStandardPaths::HomeLocation);
// qInfo()<< " Runtime Location:"<< QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation);
// qInfo()<< " Cache Location:"<< QStandardPaths::writableLocation(QStandardPaths::CacheLocation);
qInfo()<< "";
qInfo()<< "*** Qt screens ***";
@@ -182,7 +193,7 @@ void MachineInfo::send_info_to_debug()
+ QString::number(pc.screen.height[ii])
+ " )";
}
qInfo()<< "";
foreach (const QStorageInfo &storage, QStorageInfo::mountedVolumes()) {
if (storage.isReadOnly())
qDebug() << "isReadOnly:" << storage.isReadOnly();