Skip to content
Snippets Groups Projects
Commit 9f105390 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

misc: QT_VERSION_STR must be defined

Change-Id: I1533ca831cc2cb7f627535d1e9d37549ccaf8b59
parent 2c854276
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ MainApplication::MainApplication(int& argc, char** argv)
const char* qtVersion = qVersion();
qInfo() << "Using Qt runtime version:" << qtVersion;
if (strncmp(qtVersion, QT_VERSION_STR, strnlen(qtVersion, sizeof qtVersion)) != 0) {
qFatal(QString("Qt build version mismatch!(%1)").arg(QT_VERSION_STR).toLatin1());
qFatal("Qt build version mismatch! %s", QT_VERSION_STR);
}
parseArguments();
......
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