forked from qt-creator/qt-creator
Qnx: Refactor BlackBerryConfiguration
Improve the NDK setting page to enable managing multiple NDKs. * Refactor BlackBerryConfiguration to support multiple configurations * Add auto detected kits for installed NDKs * Add/Remove manual NDKs Change-Id: Icbc850551da3f729ccaa3473da720ade3051adaf Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Wolfgang Bremer <wbremer@blackberry.com>
This commit is contained in:
committed by
Mehdi Fekari
parent
2ac65aaa7c
commit
7b313e9696
@@ -51,11 +51,13 @@
|
||||
#include "blackberrykeyspage.h"
|
||||
#include "blackberrycheckdevmodestepfactory.h"
|
||||
#include "blackberrydeviceconnectionmanager.h"
|
||||
#include "blackberryconfigurationmanager.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/mimedatabase.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/taskhub.h>
|
||||
#include <projectexplorer/kitmanager.h>
|
||||
|
||||
#include <QtPlugin>
|
||||
|
||||
@@ -68,6 +70,7 @@ QNXPlugin::QNXPlugin()
|
||||
QNXPlugin::~QNXPlugin()
|
||||
{
|
||||
delete BlackBerryDeviceConnectionManager::instance();
|
||||
delete &BlackBerryConfigurationManager::instance();
|
||||
}
|
||||
|
||||
bool QNXPlugin::initialize(const QStringList &arguments, QString *errorString)
|
||||
@@ -111,6 +114,8 @@ bool QNXPlugin::initialize(const QStringList &arguments, QString *errorString)
|
||||
}
|
||||
addAutoReleasedObject(new BarDescriptorEditorFactory);
|
||||
|
||||
connect(ProjectExplorer::KitManager::instance(), SIGNAL(kitsLoaded()), &BlackBerryConfigurationManager::instance(), SLOT(loadSettings()));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user