forked from qt-creator/qt-creator
Fix configuration error messages in QNX.
- Remove newline character from translated strings. - Add punctuation. - Use GDB instead of Gdb. Change-Id: Iabb36378640fc50580771134c4adf0094542b704 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
This commit is contained in:
@@ -94,18 +94,18 @@ bool BlackBerryConfiguration::setConfig(const QString &ndkPath)
|
||||
|
||||
if (!qmakePath.toFileInfo().exists() || !gccPath.toFileInfo().exists()
|
||||
|| !deviceGdbPath.toFileInfo().exists() || !simulatorGdbPath.toFileInfo().exists() ) {
|
||||
QString errorMessage = tr("The following errors occurred while setting up BB10 Configuration:\n");
|
||||
QString errorMessage = tr("The following errors occurred while setting up BB10 Configuration:");
|
||||
if (!qmakePath.toFileInfo().exists())
|
||||
errorMessage += tr("- No Qt version found\n");
|
||||
errorMessage += QLatin1Char('\n') + tr("- No Qt version found.");
|
||||
|
||||
if (!gccPath.toFileInfo().exists())
|
||||
errorMessage += tr("- No GCC compiler found\n");
|
||||
errorMessage += QLatin1Char('\n') + tr("- No GCC compiler found.");
|
||||
|
||||
if (!deviceGdbPath.toFileInfo().exists())
|
||||
errorMessage += tr("- No Gdb debugger found for BB10 Device\n");
|
||||
errorMessage += QLatin1Char('\n') + tr("- No GDB debugger found for BB10 Device.");
|
||||
|
||||
if (!simulatorGdbPath.toFileInfo().exists())
|
||||
errorMessage += tr("- No Gdb debugger found for BB10 Simulator");
|
||||
errorMessage += QLatin1Char('\n') + tr("- No GDB debugger found for BB10 Simulator.");
|
||||
|
||||
QMessageBox::warning(0, tr("Cannot Setup BB10 Configuration"),
|
||||
errorMessage, QMessageBox::Ok);
|
||||
|
||||
Reference in New Issue
Block a user