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

#pragma once

#include <QMap>
#include <QString>

namespace Debugger::Internal {

class DebuggerRunParameters;
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