forked from qt-creator/qt-creator
QmlProfiler: Support profiling applications on embedded Linux
Allow on-device profiling e.g. on Meego/Harmattan. Change-Id: I066b71078e1dab1b1369ff7275f72e88045d1bab Reviewed-on: http://codereview.qt.nokia.com/784 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
committed by
Christian Kandeler
parent
2707f7a74b
commit
949ffeb1b4
@@ -49,6 +49,7 @@ using namespace QmlProfiler::Internal;
|
||||
CodaQmlProfilerRunner::CodaQmlProfilerRunner(S60DeviceRunConfiguration *configuration,
|
||||
QObject *parent) :
|
||||
AbstractQmlProfilerRunner(parent),
|
||||
m_configuration(configuration),
|
||||
m_runControl(new CodaRunControl(configuration, Analyzer::Constants::MODE_ANALYZE))
|
||||
{
|
||||
connect(m_runControl, SIGNAL(finished()), this, SIGNAL(stopped()));
|
||||
@@ -80,3 +81,8 @@ void CodaQmlProfilerRunner::appendMessage(ProjectExplorer::RunControl *, const Q
|
||||
emit appendMessage(message, format);
|
||||
}
|
||||
|
||||
int QmlProfiler::Internal::CodaQmlProfilerRunner::debugPort() const
|
||||
{
|
||||
return m_configuration->qmlDebugServerPort();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user