2022-08-19 15:59:36 +02:00
|
|
|
// 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
|
2008-12-02 16:19:05 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2010-03-17 17:45:33 +01:00
|
|
|
#include <extensionsystem/iplugin.h>
|
2012-04-12 15:56:02 +04:00
|
|
|
|
2013-10-16 11:02:37 +02:00
|
|
|
namespace QmakeProjectManager {
|
2008-12-02 12:01:29 +01:00
|
|
|
namespace Internal {
|
|
|
|
|
|
2020-01-29 04:15:25 +03:00
|
|
|
class QmakeProjectManagerPlugin final : public ExtensionSystem::IPlugin
|
2008-12-02 12:01:29 +01:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
2013-10-29 16:19:24 +01:00
|
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "QmakeProjectManager.json")
|
2008-12-02 12:01:29 +01:00
|
|
|
|
|
|
|
|
public:
|
2018-02-09 16:17:00 +01:00
|
|
|
~QmakeProjectManagerPlugin() final;
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2016-03-10 12:21:30 +01:00
|
|
|
#ifdef WITH_TESTS
|
2008-12-02 12:01:29 +01:00
|
|
|
private slots:
|
2016-03-10 12:21:30 +01:00
|
|
|
void testQmakeOutputParsers_data();
|
|
|
|
|
void testQmakeOutputParsers();
|
2016-10-07 13:03:00 +02:00
|
|
|
void testMakefileParser_data();
|
|
|
|
|
void testMakefileParser();
|
2016-03-10 12:21:30 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
private:
|
2018-02-09 16:17:00 +01:00
|
|
|
bool initialize(const QStringList &arguments, QString *errorMessage) final;
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2018-02-09 16:17:00 +01:00
|
|
|
class QmakeProjectManagerPluginPrivate *d = nullptr;
|
2008-12-02 12:01:29 +01:00
|
|
|
};
|
|
|
|
|
|
2008-12-02 16:19:05 +01:00
|
|
|
} // namespace Internal
|
2013-10-16 11:02:37 +02:00
|
|
|
} // namespace QmakeProjectManager
|