~ubuntu-sdk-team/qtcreator-plugin-remotelinux/trunk

« back to all changes in this revision

Viewing changes to src/qnx/qnxutils.cpp

  • Committer: CI bot
  • Author(s): Benjamin Zeller
  • Date: 2014-06-16 10:28:43 UTC
  • mfrom: (4.2.4 remotelinux)
  • Revision ID: ps-jenkins@lists.canonical.com-20140616102843-8juvmjvzwlzsboyw
Migrating to Qt5.3 and QtC 3.1 

Show diffs side-by-side

added added

removed removed

Lines of Context:
182
182
{
183
183
    Utils::FileName result = fileName;
184
184
    if (Utils::HostOsInfo::isWindowsHost())
185
 
        result.append(QLatin1String(".exe"));
 
185
        result.appendString(QLatin1String(".exe"));
186
186
    return result;
187
187
}
188
188
 
258
258
            ndkInfo.host = childElt.firstChildElement(QLatin1String("host")).text();
259
259
            ndkInfo.target = childElt.firstChildElement(QLatin1String("target")).text();
260
260
            ndkInfo.version = childElt.firstChildElement(QLatin1String("version")).text();
 
261
            ndkInfo.installationXmlFilePath = ndkFile.absoluteFilePath();
261
262
 
262
263
            ndkList.append(ndkInfo);
263
264
        }
281
282
}
282
283
 
283
284
// The resulting process when launching sdkinstall
284
 
QString QnxUtils::qdeInstallProcess(const QString &ndkPath, const QString &option, const QString &version)
 
285
QString QnxUtils::qdeInstallProcess(const QString &ndkPath, const QString &target,
 
286
                                    const QString &option, const QString &version)
285
287
{
286
288
    QString installerPath = sdkInstallerPath(ndkPath);
287
289
    if (installerPath.isEmpty())
292
294
    const QString installerApplication = installerPlugins.size() >= 1 ? QLatin1String("com.qnx.tools.ide.sdk.installer.app.SDKInstallerApplication")
293
295
                                                                      : QLatin1String("com.qnx.tools.ide.sdk.manager.core.SDKInstallerApplication");
294
296
    return QString::fromLatin1("%1 -nosplash -application %2 "
295
 
                               "%3  %4 -vmargs -Dosgi.console=:none").arg(installerPath, installerApplication, option, version);
 
297
                               "%3 %4 %5 -vmargs -Dosgi.console=:none").arg(installerPath, installerApplication, target, option, version);
296
298
}
297
299
 
298
300
QList<Utils::EnvironmentItem> QnxUtils::qnxEnvironment(const QString &sdkPath)