RemoteLinux: Make mapping between targets and devices more flexible.

Until now, the mapping was based exclusively on the device type. The new
approach is more flexible and less static, allowing e.g. the set of
supported devices to depend on the current build settings.

Change-Id: Iec92bdf9fee647477b166f7624c2364a821e5cbd
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
Christian Kandeler
2012-03-19 17:35:44 +01:00
parent 63244127a8
commit 5ef51887db
12 changed files with 92 additions and 67 deletions

View File

@@ -41,14 +41,11 @@ using namespace Qt4ProjectManager;
namespace RemoteLinux {
AbstractEmbeddedLinuxTarget::AbstractEmbeddedLinuxTarget(Qt4Project *parent, const QString &id,
const QString &supportedDeviceType) :
AbstractEmbeddedLinuxTarget::AbstractEmbeddedLinuxTarget(Qt4Project *parent, const QString &id) :
Qt4BaseTarget(parent, id),
m_buildConfigurationFactory(new Qt4BuildConfigurationFactory(this)),
m_supportedDeviceType(supportedDeviceType),
m_deploymentInfo(new DeploymentInfo(this)),
m_deviceConfigModel(new Internal::TypeSpecificDeviceConfigurationListModel(supportedDeviceType,
this))
m_deviceConfigModel(new Internal::TypeSpecificDeviceConfigurationListModel(this))
{
}