aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qtapplicationmanager/appmanagerplugin.cpp
blob: 3afd7705b4d6766629ec463977f37f2bf0cca472 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Copyright (C) 2019 Luxoft Sweden AB
// Copyright (C) 2018 Pelagicore AG
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include "appmanagercreatepackagestep.h"
#include "appmanagerdeployconfigurationautoswitcher.h"
#include "appmanagerdeployconfigurationfactory.h"
#include "appmanagerdeploypackagestep.h"
#include "appmanagerinstallpackagestep.h"
#include "appmanagercmakepackagestep.h"
#include "appmanagerrunconfiguration.h"
#include "appmanagerruncontrol.h"

#include <extensionsystem/iplugin.h>

namespace AppManager::Internal {

class AppManagerPlugin final : public ExtensionSystem::IPlugin
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "QtApplicationManagerIntegration.json")

    void initialize() final
    {
        setupAppManagerCMakePackageStep();
        setupAppManagerCreatePackageStep();
        setupAppManagerDeployPackageStep();
        setupAppManagerInstallPackageStep();

        setupAppManagerDeployConfiguration();
        setupAppManagerDeployConfigurationAutoSwitcher();

        setupAppManagerRunConfiguration();

        setupAppManagerRunWorker();
        setupAppManagerDebugWorker();
        setupAppManagerQmlToolingWorker();
        setupAppManagerPerfProfilerWorker();
    }
};

} // AppManager::Internal

#include "appmanagerplugin.moc"