forked from qt-creator/qt-creator
SdkTool: Fork utils/persistentsettings
And a few helper classes. This allows SdkTool being build without Creator's Utils, and does not impose restrictions on the development there. Change-Id: Id15db9293f343ad2aeee5c09cc819d112ec144e4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -4,13 +4,10 @@
|
||||
#include "addtoolchainoperation.h"
|
||||
|
||||
#include "addkeysoperation.h"
|
||||
#include "findkeyoperation.h"
|
||||
#include "findvalueoperation.h"
|
||||
#include "getoperation.h"
|
||||
#include "rmkeysoperation.h"
|
||||
|
||||
#include "settings.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#ifdef WITH_TESTS
|
||||
@@ -283,7 +280,7 @@ QVariantMap AddToolChainData::addToolChain(const QVariantMap &map) const
|
||||
data << KeyValuePair({tc, LANGUAGE_KEY_V2}, QVariant(newLang));
|
||||
data << KeyValuePair({tc, DISPLAYNAME}, QVariant(m_displayName));
|
||||
data << KeyValuePair({tc, AUTODETECTED}, QVariant(true));
|
||||
data << KeyValuePair({tc, PATH}, Utils::FilePath::fromUserInput(m_path).toSettings());
|
||||
data << KeyValuePair({tc, PATH}, QVariant(m_path));
|
||||
data << KeyValuePair({tc, TARGET_ABI}, QVariant(m_targetAbi));
|
||||
QVariantList abis;
|
||||
const QStringList abiStrings = m_supportedAbis.split(',');
|
||||
|
||||
Reference in New Issue
Block a user