Commit 717ff381 authored by hjk's avatar hjk Committed by Alessandro Portale

Introduce AppManager plugin to simplify work with QtApplicationManager

This is currently an empty shell.

Change-Id: I0c2e5cb4b7052c78d5a93db3a6e8d96b9affcab1
Reviewed-by: Alessandro Portale's avatarAlessandro Portale <alessandro.portale@qt.io>
parent 3c431c92
{
\"Name\" : \"AppManager\",
\"Version\" : \"$$QTCREATOR_VERSION\",
\"CompatVersion\" : \"$$QTCREATOR_COMPAT_VERSION\",
\"Experimental\" : true,
\"Vendor\" : \"The Qt Company Ltd\",
\"Copyright\" : \"(C) 2016 The Qt Company Ltd\",
\"License\" : [ \"Commercial Usage\",
\"\",
\"Licensees holding valid Qt Commercial licenses may use this plugin in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and The Qt Company.\",
\"\",
\"GNU General Public License Usage\",
\"\",
\"Alternatively, this plugin may be used under the terms of the GNU General Public License version 3 as published by the Free Software Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT included in the packaging of this plugin. Please review the following information to ensure the GNU General Public License requirements will be met: https://www.gnu.org/licenses/gpl-3.0.html.\"
],
\"Description\" : \"Support for QtApplicationManager.\",
\"Url\" : \"http://www.qt.io\",
$$dependencyList
}
include(../../qtcreatorplugin.pri)
HEADERS += \
appmanagerplugin.h
SOURCES += \
appmanagerplugin.cpp
import qbs 1.0
QtcPlugin {
name: "AppManager"
Depends { name: "Core" }
Depends { name: "Qt"; submodules: ["widgets", "network"] }
files: [
"appmanagerplugin.h", "appmanagerplugin.cpp",
]
}
QTC_PLUGIN_NAME = AppManager
QTC_LIB_DEPENDS += \
extensionsystem
QTC_PLUGIN_DEPENDS += \
coreplugin
QTC_PLUGIN_RECOMMENDS += \
# optional plugin dependencies. nothing here at this time
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3 as published by the Free Software
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
**
****************************************************************************/
#include "appmanagerplugin.h"
#include <QtPlugin>
namespace AppManager {
namespace Internal {
AppManagerPlugin::AppManagerPlugin()
{
}
AppManagerPlugin::~AppManagerPlugin()
{
}
bool AppManagerPlugin::initialize(const QStringList &arguments, QString *errorMessage)
{
Q_UNUSED(arguments)
Q_UNUSED(errorMessage)
return true;
}
void AppManagerPlugin::extensionsInitialized()
{
}
} // namespace Internal
} // namespace AppManager
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3 as published by the Free Software
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
**
****************************************************************************/
#pragma once
#include <extensionsystem/iplugin.h>
namespace AppManager {
namespace Internal {
class AppManagerPlugin
: public ExtensionSystem::IPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "AppManager.json")
public:
AppManagerPlugin();
~AppManagerPlugin();
bool initialize(const QStringList &arguments, QString *errorMessage) override;
void extensionsInitialized() override;
};
} // namespace Internal
} // namespace AppManager
......@@ -3,6 +3,7 @@ include(../../qtcreator.pri)
TEMPLATE = subdirs
SUBDIRS = \
appmanager \
autotest \
clangstaticanalyzer \
coreplugin \
......
......@@ -5,6 +5,7 @@ Project {
references: [
"android/android.qbs",
"appmanager/appmanager.qbs",
"autotest/autotest.qbs",
"autotoolsprojectmanager/autotoolsprojectmanager.qbs",
"baremetal/baremetal.qbs",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment