blob: 12259424990ada118c9cba66b4b25651b72901f8 (
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
|
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "overviewwelcomepage.h"
#include "qtacademywelcomepage.h"
#include <extensionsystem/iplugin.h>
namespace Learning::Internal {
class LearningPlugin final : public ExtensionSystem::IPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "Learning.json")
public:
void initialize() final
{
setupQtAcademyWelcomePage(this);
setupOverviewWelcomePage(this);
#ifdef WITH_TESTS
addTest<LearningTest>();
#endif // WITH_TESTS
}
};
} // namespace Learning::Internal
#include "learningplugin.moc"
|