~bzoltan/kubuntu-packaging/decouple_cmake_plugin

« back to all changes in this revision

Viewing changes to src/plugins/qnx/blackberryrunconfigurationfactory.cpp

  • Committer: Timo Jyrinki
  • Date: 2013-12-02 09:16:15 UTC
  • mfrom: (1.1.29)
  • Revision ID: timo.jyrinki@canonical.com-20131202091615-xbj1os1f604ber1m
New upstream release candidate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
#include <projectexplorer/kitinformation.h>
38
38
#include <projectexplorer/target.h>
39
 
#include <qt4projectmanager/qmakeproject.h>
 
39
#include <qmakeprojectmanager/qmakeproject.h>
40
40
 
41
41
using namespace Qnx;
42
42
using namespace Qnx::Internal;
57
57
    if (!canHandle(parent))
58
58
        return ids;
59
59
 
60
 
    QmakeProjectManager::Qt4Project *qt4Project = qobject_cast<QmakeProjectManager::Qt4Project *>(parent->project());
 
60
    QmakeProjectManager::QmakeProject *qt4Project = qobject_cast<QmakeProjectManager::QmakeProject *>(parent->project());
61
61
    if (!qt4Project)
62
62
        return ids;
63
63
 
85
85
    if (!canHandle(parent))
86
86
        return false;
87
87
 
88
 
    QmakeProjectManager::Qt4Project *qt4Project = qobject_cast<QmakeProjectManager::Qt4Project *>(parent->project());
 
88
    QmakeProjectManager::QmakeProject *qt4Project = qobject_cast<QmakeProjectManager::QmakeProject *>(parent->project());
89
89
    if (!qt4Project)
90
90
        return false;
91
91
 
140
140
{
141
141
    if (!t->project()->supportsKit(t->kit()))
142
142
        return false;
143
 
    if (!qobject_cast<QmakeProjectManager::Qt4Project *>(t->project()))
 
143
    if (!qobject_cast<QmakeProjectManager::QmakeProject *>(t->project()))
144
144
        return false;
145
145
 
146
146
    Core::Id deviceType = ProjectExplorer::DeviceTypeKitInformation::deviceTypeId(t->kit());