forked from qt-creator/qt-creator
QbsProjectManager: Introduce QbsKitInformation
... and use it to allow users to set custom properties in the corresponding profile. This replaces the idiosyncratic and more complicated approach we had before, when that was done in the qbs profiles settings page. The profiles view is now read-only. Change-Id: I0c29c1ac0c510e17d685e7bbaa38b54c8100ddb8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "qbsdeployconfigurationfactory.h"
|
||||
#include "qbsinfopage.h"
|
||||
#include "qbsinstallstep.h"
|
||||
#include "qbskitinformation.h"
|
||||
#include "qbsnodes.h"
|
||||
#include "qbsprofilessettingspage.h"
|
||||
#include "qbsproject.h"
|
||||
@@ -93,6 +94,7 @@ bool QbsProjectManagerPlugin::initialize(const QStringList &arguments, QString *
|
||||
Core::FileIconProvider::registerIconOverlayForSuffix(ProjectExplorer::Constants::FILEOVERLAY_QT, "qbs");
|
||||
|
||||
ProjectManager::registerProjectType<QbsProject>(QmlJSTools::Constants::QBS_MIMETYPE);
|
||||
KitManager::registerKitInformation(new QbsKitInformation);
|
||||
|
||||
//create and register objects
|
||||
addAutoReleasedObject(new QbsManager);
|
||||
|
||||
Reference in New Issue
Block a user