Skip to content
Snippets Groups Projects
Commit 02a4fc72 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Mobile Wizards: Change version string in generated files.

Hexadecimal format is easier to parse for humans.
parent e17d1491
No related branches found
No related tags found
No related merge requests found
......@@ -378,7 +378,8 @@ QByteArray AbstractMobileApp::generateFile(int fileType,
versioned.replace('\x0A', "");
const quint16 checkSum = qChecksum(versioned.constData(), versioned.length());
const QString checkSumString = QString::number(checkSum, 16);
const QString versionString = QString::number(makeStubVersion(stubVersionMinor()));
const QString versionString
= QString::number(makeStubVersion(stubVersionMinor()), 16);
const QChar sep = QLatin1Char(' ');
const QString versionLine =
comment + sep + FileChecksum + sep + QLatin1String("0x") + checkSumString
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment