Commit 03492f24 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

QML debugging: Adaptations for Maemo.

Reviewed-by: Lasse Holmstedt
parent 29b304e7
......@@ -260,6 +260,7 @@ static DebuggerEngineType engineForToolChain(int toolChainType)
case ProjectExplorer::ToolChain::RVCT_ARMV6:
case ProjectExplorer::ToolChain::RVCT_ARMV5_GNUPOC:
case ProjectExplorer::ToolChain::GCCE_GNUPOC:
case ProjectExplorer::ToolChain::GCC_MAEMO:
return GdbEngineType;
case ProjectExplorer::ToolChain::MSVC:
......
......@@ -13,7 +13,7 @@ namespace Internal {
class GdbEngine;
class QmlEngine;
class QmlCppEngine : public DebuggerEngine
class DEBUGGER_EXPORT QmlCppEngine : public DebuggerEngine
{
Q_OBJECT
public:
......@@ -67,6 +67,8 @@ public:
QAbstractItemModel *returnModel() const;
QAbstractItemModel *sourceFilesModel() const;
DebuggerEngine *cppEngine() const { return m_cppEngine; }
protected:
virtual void detachDebugger();
virtual void executeStep();
......
......@@ -162,7 +162,9 @@ void QmlEngine::connectionStartupFailed()
{
QMessageBox::critical(0,
tr("Failed to connect to debugger"),
tr("Could not connect to debugger server.") );
tr("Could not connect to QML debugger server at %1:%2.")
.arg(startParameters().qmlServerAddress)
.arg(startParameters().qmlServerPort));
notifyEngineRunFailed();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment