~ubuntu-sdk-team/qtcreator-plugin-remotelinux/trunk

« back to all changes in this revision

Viewing changes to src/valgrind/valgrindruncontrolfactory.cpp

[ Benjamin Zeller ]
* Added debian packaging
* Added AbstractRemoteLinuxRunConfiguration to allow plugins to 
  ship a custom RemoteRunConfiguration
* Backporting Fix for QTCREATORBUG-11553 (Enable QML debugging also for generic remote linux)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#include <analyzerbase/analyzerruncontrol.h>
38
38
#include <analyzerbase/analyzerrunconfigwidget.h>
39
39
 
40
 
#include <remotelinux/remotelinuxrunconfiguration.h>
 
40
#include <remotelinux/abstractremotelinuxrunconfiguration.h>
41
41
 
42
42
#include <debugger/debuggerrunconfigurationaspect.h>
43
43
#include <projectexplorer/environmentaspect.h>
94
94
        sp.connParams.host = server.serverAddress().toString();
95
95
        sp.connParams.port = server.serverPort();
96
96
        sp.startMode = StartLocal;
97
 
    } else if (RemoteLinux::RemoteLinuxRunConfiguration *rc2 =
98
 
               qobject_cast<RemoteLinux::RemoteLinuxRunConfiguration *>(runConfiguration)) {
 
97
    } else if (RemoteLinux::AbstractRemoteLinuxRunConfiguration *rc2 =
 
98
               qobject_cast<RemoteLinux::AbstractRemoteLinuxRunConfiguration *>(runConfiguration)) {
99
99
        sp.startMode = StartRemote;
100
100
        sp.debuggee = rc2->remoteExecutableFilePath();
101
101
        sp.connParams = DeviceKitInformation::device(rc2->target()->kit())->sshParameters();