QmlDebugging: Use -qmljsdebugger command line argument

Adapt to latest changes in qt.git (commit
a9e5329168c)

Reviewed-by: kkoehne
This commit is contained in:
Lasse Holmstedt
2010-09-20 12:16:54 +02:00
committed by Kai Koehne
parent 4d0176cd74
commit b580a0c357
5 changed files with 5 additions and 10 deletions

View File

@@ -165,8 +165,7 @@ static DebuggerStartParameters localStartParameters(RunConfiguration *runConfigu
if (runConfiguration->target()->activeBuildConfiguration())
sp.projectBuildDir = runConfiguration->target()->activeBuildConfiguration()->buildDirectory();
sp.environment << QString(Constants::E_QML_DEBUG_SERVER_PORT)
+ QLatin1Char('=') + QString::number(sp.qmlServerPort);
sp.processArgs.append(QLatin1String("-qmljsdebugger=port:") + QString::number(sp.qmlServerPort));
}
// FIXME: If it's not yet build this will be empty and not filled