forked from qt-creator/qt-creator
QmlDebugging: Use -qmljsdebugger command line argument
Adapt to latest changes in qt.git (commit a9e5329168c) Reviewed-by: kkoehne
This commit is contained in:
committed by
Kai Koehne
parent
4d0176cd74
commit
b580a0c357
@@ -313,9 +313,10 @@ int MaemoDebugSupport::qmlServerPort(const MaemoRunConfiguration *rc)
|
||||
QString MaemoDebugSupport::environment(const MaemoRunConfiguration *rc)
|
||||
{
|
||||
QList<EnvironmentItem> env = rc->userEnvironmentChanges();
|
||||
// FIXME: this must use command line argument instead: -qmljsdebugger=port:1234.
|
||||
if (rc->useQmlDebugger()) {
|
||||
env << EnvironmentItem(QLatin1String(Debugger::Constants::E_QML_DEBUG_SERVER_PORT),
|
||||
QString::number(qmlServerPort(rc)));
|
||||
// env << EnvironmentItem(QLatin1String(Debugger::Constants::E_QML_DEBUG_SERVER_PORT),
|
||||
// QString::number(qmlServerPort(rc)));
|
||||
}
|
||||
return MaemoGlobal::remoteEnvironment(env);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user