forked from qt-creator/qt-creator
QML debugging: Adaptations for Maemo.
Reviewed-by: Lasse Holmstedt
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user