blob: b8f706f720a869bdf865a3b52cea2e92b2b4e554 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "qmlprofilerrunconfigurationaspect.h"
#include "qmlprofilerconstants.h"
#include "qmlprofilersettings.h"
#include "qmlprofilertr.h"
#include <projectexplorer/runconfiguration.h>
using namespace ProjectExplorer;
namespace QmlProfiler::Internal {
QmlProfilerRunConfigurationAspect::QmlProfilerRunConfigurationAspect(BuildConfiguration *)
{
setProjectSettings(new QmlProfilerSettings);
setGlobalSettings(&Internal::globalSettings(), Constants::SETTINGS);
setId(Constants::SETTINGS);
setDisplayName(Tr::tr("QML Profiler Settings"));
setUsingGlobalSettings(true);
resetProjectToGlobalSettings();
setConfigWidgetCreator([this] { return createRunConfigAspectWidget(this); });
}
} // QmlProfiler::Internal
|