Build axivion support plugin

Adapts the CMake files, fixes license.

Change-Id: I6bdce2547d187bcabcc864026e36a1c924015c2a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2023-05-24 10:27:35 +02:00
parent 9f506956f7
commit f7d46f48f8
19 changed files with 25 additions and 40 deletions

View File

@@ -1,5 +1,5 @@
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "axivionplugin.h"
@@ -30,10 +30,6 @@
#include <utils/qtcassert.h>
#include <utils/utilsicons.h>
#ifdef LICENSECHECKER
# include <licensechecker/licensecheckerplugin.h>
#endif
#include <QAction>
#include <QMessageBox>
#include <QTimer>
@@ -120,14 +116,6 @@ bool AxivionPlugin::initialize(const QStringList &arguments, QString *errorMessa
Q_UNUSED(arguments)
Q_UNUSED(errorMessage)
#ifdef LICENSECHECKER
LicenseChecker::LicenseCheckerPlugin *licenseChecker
= ExtensionSystem::PluginManager::getObject<LicenseChecker::LicenseCheckerPlugin>();
if (!licenseChecker || !licenseChecker->hasValidLicense() || !licenseChecker->enterpriseFeatures())
return true;
#endif // LICENSECHECKER
dd = new AxivionPluginPrivate;
dd->m_axivionSettings.fromSettings(Core::ICore::settings());