Maemo: Make more generic.

We can now deploy and remotely run/debug any Linux target.
This commit is contained in:
Christian Kandeler
2011-05-16 13:39:44 +02:00
parent d135e33a04
commit aababf0c68
14 changed files with 93 additions and 77 deletions

View File

@@ -33,7 +33,6 @@
#include "maemodeployablelistmodel.h"
#include "maemoglobal.h"
#include "qt4maemotarget.h"
#include <coreplugin/icore.h>
#include <coreplugin/filemanager.h>
@@ -331,8 +330,8 @@ const BaseQtVersion *MaemoDeployableListModel::qtVersion() const
const ProjectExplorer::Project *const activeProject
= ProjectExplorer::ProjectExplorerPlugin::instance()->session()->startupProject();
QTC_ASSERT(activeProject, return 0);
const AbstractQt4MaemoTarget *const activeTarget
= qobject_cast<AbstractQt4MaemoTarget *>(activeProject->activeTarget());
const Qt4BaseTarget *const activeTarget
= qobject_cast<Qt4BaseTarget *>(activeProject->activeTarget());
QTC_ASSERT(activeTarget, return 0);
const Qt4BuildConfiguration *const bc
= activeTarget->activeBuildConfiguration();