Commit 0baa1368 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

fix compile on windows

Change-Id: Ida259851e5e25472c4f225c4d063b5cfa7e75475
Reviewed-by: default avatarDaniel Teske <>
parent d78fd393
......@@ -850,7 +850,7 @@ void QMakeEvaluator::loadDefaults()
DWORD name_length = 1024;
wchar_t name[1024];
if (GetComputerName(name, &name_length))
vars[ProString("")] << ProString(QString::fromWCharArray(name), NoHahs);
vars[ProString("")] << ProString(QString::fromWCharArray(name), NoHash);
QSysInfo::WinVersion ver = QSysInfo::WindowsVersion;
vars[ProString("QMAKE_HOST.version")] << ProString(QString::number(ver), NoHash);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment