mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-06-14 00:43:14 +02:00
Compare commits
7 Commits
4aff7d1a1d
...
162c402102
| Author | SHA1 | Date | |
|---|---|---|---|
| 162c402102 | |||
| c6427cbfc1 | |||
| c4b6939ed6 | |||
| 2436daa16f | |||
| 4050e8351e | |||
| d6f119742d | |||
| 3e4f3def3e |
+21
-10
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user