Commit d9431471 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

RemoteLinux: Make deploy configuration dependent on embedded target.



Since the deployment info is now in the target, we cannot create deploy
configurations anymore for a Desktop target. We must therefore not offer
it.
(Yes, that does remove a feature. It will be re-added shortly,
presumably by allowing the creation of an Embedded Linux target in more
cases.)

Change-Id: I48ef938cbe443c0f20bb1ea294295c8570dd6342
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 5cae87a0
......@@ -31,10 +31,9 @@
**************************************************************************/
#include "remotelinuxdeployconfigurationfactory.h"
#include "genericembeddedlinuxtarget.h"
#include "genericdirectuploadstep.h"
#include "remotelinuxdeployconfiguration.h"
#include "remotelinuxutils.h"
#include "remotelinux_constants.h"
#include <QtCore/QCoreApplication>
......@@ -55,7 +54,7 @@ RemoteLinuxDeployConfigurationFactory::RemoteLinuxDeployConfigurationFactory(QOb
QStringList RemoteLinuxDeployConfigurationFactory::availableCreationIds(Target *parent) const
{
QStringList ids;
if (RemoteLinuxUtils::hasUnixQt(parent))
if (qobject_cast<GenericEmbeddedLinuxTarget *>(parent))
ids << genericDeployConfigurationId();
return ids;
}
......
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