I have no idea why this doesn't trigger a compiler warning for me, but apparently
it has suddenly started triggering a warning for others, so it's fixed now.
qFatal("%s", qPrintable(QString("Could not write %1!").arg(target)));
return EXIT_FAILURE;
}
qFatal("%s", qPrintable(QString("Could not write %1!").arg(target)));
return EXIT_FAILURE;
}
- gen.write(QString("QString buildinfo = \"%1,%2,%3,%4,%5,%6,%7,%8\";")
+ gen.write(QString("QString buildinfo = \"%1,%2,%3,%4,%5,%6,%7,%8\";\n")
.arg(basever, descrver, dirty, committish, commitdate, protover, clientneeds, coreneeds).toAscii());
gen.close();
return EXIT_SUCCESS;
.arg(basever, descrver, dirty, committish, commitdate, protover, clientneeds, coreneeds).toAscii());
gen.close();
return EXIT_SUCCESS;