aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggersourcepathmappingwidget.h
blob: 28f3ef42dabd5caf55c3ceb2835e7b81755718aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <QMap>
#include <QString>

namespace Debugger { class DebuggerRunParameters; }

namespace Debugger::Internal {

using SourcePathMap = QMap<QString, QString>;

/* Merge settings for an installed Qt (unless another setting
 * is already in the map. */
SourcePathMap mergePlatformQtPath(const DebuggerRunParameters &sp, const SourcePathMap &in);

} // Debugger::Internal