mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-06-11 21:53:14 +02:00
Compare commits
3 Commits
cf9b07aeb5
...
b19fbd2522
| Author | SHA1 | Date | |
|---|---|---|---|
| b19fbd2522 | |||
| dc403e5e8f | |||
| be96da650c |
@@ -16,8 +16,9 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "machine_info.h"
|
||||
|
||||
#include "qetapp.h"
|
||||
#include "qetversion.h"
|
||||
#include <QSettings>
|
||||
|
||||
#include <QScreen>
|
||||
#include <QProcess>
|
||||
@@ -27,6 +28,7 @@
|
||||
#include <QStorageInfo>
|
||||
#include <QLibraryInfo>
|
||||
#include <QStorageInfo>
|
||||
#include <QStandardPaths>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <windows.h>
|
||||
@@ -144,6 +146,26 @@ 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()<< " language Path:"<< QString(QETApp::languagesPath().toLatin1());
|
||||
qInfo()<< " Common Elements Dir:"<< QString(QETApp::commonElementsDir().toLatin1());
|
||||
qInfo()<< " Common TitleBlock Templates Dir:"<< QString(QETApp::commonTitleBlockTemplatesDir().toLatin1());
|
||||
qInfo()<< " Custom Elements Dir:"<< QString(QETApp::customElementsDir().toLatin1());
|
||||
qInfo()<< " Custom TitleBlock Templates Dir:"<< QString(QETApp::customTitleBlockTemplatesDir().toLatin1());
|
||||
qInfo()<< " Company Elements Dir:"<< QString(QETApp::companyElementsDir().toLatin1());
|
||||
qInfo()<< " Company TitleBlock Templates Dir:"<< QString(QETApp::companyTitleBlockTemplatesDir().toLatin1());
|
||||
|
||||
qInfo()<< " Standard Location :"<< QStringList(QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation));
|
||||
qInfo()<< " App Data Location:"<< QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
|
||||
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()<< "*** Qt screens ***";
|
||||
|
||||
for (int ii = 0; ii < pc.screen.count; ++ii) {
|
||||
@@ -411,3 +433,4 @@ QString MachineInfo::compilation_info()
|
||||
}
|
||||
return compilation_info;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user