Skip to content
Snippets Groups Projects
Commit 56c873fd authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Tobias Hunger
Browse files

QNX: Fix startup warning about "program not set" from QProcess.


Change-Id: I962768b47f21558f122d1b679b3583899fc3c0be
Reviewed-by: default avatarTobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent cba1da46
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,12 @@ void BlackBerryDeviceConnection::connectDevice(const ProjectExplorer::IDevice::C
// Since killing the blackberry-connect script won't kill the java process it launches,
// let's just call the java process directly instead.
QString command = env.searchInPath(QLatin1String("java"));
if (command.isEmpty()) {
const QString line = tr("Error connecting to device: java could not be found in the environment.") + QLatin1Char('\n');
emit processOutput(line);
m_messageLog.append(line);
return;
}
QStringList args;
args << QLatin1String("-Xmx512M");
......
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