#3752 ResInsight code changes to build on both Qt4 and Qt5

This commit is contained in:
Gaute Lindkvist
2018-11-26 09:53:43 +01:00
parent ddb546d877
commit 5c66b901c3
19 changed files with 40 additions and 23 deletions

View File

@@ -97,7 +97,7 @@ bool RiaArgumentParser::parseArguments()
#if defined(_MSC_VER) && defined(_WIN32)
RiaApplication::instance()->showFormattedTextInMessageBox(helpText);
#else
fprintf(stdout, "%s\n", helpText.toAscii().data());
fprintf(stdout, "%s\n", helpText.toLatin1().data());
fflush(stdout);
#endif
return false;