mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-02 07:15:27 +08:00
qt 6.5.1 original
This commit is contained in:
1
tests/auto/cmake/mockplugins/.cmake.conf
Normal file
1
tests/auto/cmake/mockplugins/.cmake.conf
Normal file
@ -0,0 +1 @@
|
||||
set(QT_REPO_MODULE_VERSION "6.5.1")
|
32
tests/auto/cmake/mockplugins/CMakeLists.txt
Normal file
32
tests/auto/cmake/mockplugins/CMakeLists.txt
Normal file
@ -0,0 +1,32 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
include(.cmake.conf)
|
||||
project(QtMockPlugins
|
||||
VERSION "${QT_REPO_MODULE_VERSION}"
|
||||
DESCRIPTION "Qt MockPlugins Libraries"
|
||||
HOMEPAGE_URL "https://qt.io/"
|
||||
LANGUAGES CXX C
|
||||
)
|
||||
|
||||
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core)
|
||||
qt_internal_project_setup()
|
||||
|
||||
find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Widgets Xml)
|
||||
|
||||
qt_build_repo_begin()
|
||||
|
||||
add_subdirectory(mockplugins1)
|
||||
add_subdirectory(mockplugins2)
|
||||
add_subdirectory(mockplugins3)
|
||||
|
||||
add_subdirectory(mock1plugin)
|
||||
add_subdirectory(mock2plugin)
|
||||
add_subdirectory(mock3plugin)
|
||||
add_subdirectory(mock4plugin)
|
||||
add_subdirectory(mock5plugin)
|
||||
add_subdirectory(mock6plugin)
|
||||
|
||||
qt_build_repo_end()
|
13
tests/auto/cmake/mockplugins/mock1plugin/CMakeLists.txt
Normal file
13
tests/auto/cmake/mockplugins/mock1plugin/CMakeLists.txt
Normal file
@ -0,0 +1,13 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
qt_internal_add_plugin(QMock1Plugin
|
||||
NO_UNITY_BUILD
|
||||
CLASS_NAME QMock1Plugin
|
||||
PLUGIN_TYPE mockplugin
|
||||
SOURCES
|
||||
qmock1plugin.cpp qmock1plugin.h
|
||||
LIBRARIES
|
||||
Qt::Core
|
||||
Qt::MockPlugins1
|
||||
)
|
@ -0,0 +1 @@
|
||||
{}
|
10
tests/auto/cmake/mockplugins/mock1plugin/qmock1plugin.cpp
Normal file
10
tests/auto/cmake/mockplugins/mock1plugin/qmock1plugin.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include "qmock1plugin.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
QString QMock1Plugin::pluginName() const
|
||||
{
|
||||
return "QMock1Plugin";
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
23
tests/auto/cmake/mockplugins/mock1plugin/qmock1plugin.h
Normal file
23
tests/auto/cmake/mockplugins/mock1plugin/qmock1plugin.h
Normal file
@ -0,0 +1,23 @@
|
||||
// Copyright (C) 2018 Kitware, Inc.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
#ifndef QMOCK1PLUGIN_H
|
||||
#define QMOCK1PLUGIN_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QtMockPlugins1/QMockPlugin>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QMock1Plugin : public QObject, public QMockPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID QMockPlugin_iid FILE "mock1plugin.json")
|
||||
Q_INTERFACES(QMockPlugin)
|
||||
public:
|
||||
QString pluginName() const override;
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QMOCK1PLUGIN_H
|
13
tests/auto/cmake/mockplugins/mock2plugin/CMakeLists.txt
Normal file
13
tests/auto/cmake/mockplugins/mock2plugin/CMakeLists.txt
Normal file
@ -0,0 +1,13 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
qt_internal_add_plugin(QMock2Plugin
|
||||
NO_UNITY_BUILD
|
||||
CLASS_NAME QMock2Plugin
|
||||
PLUGIN_TYPE mockplugin
|
||||
SOURCES
|
||||
qmock2plugin.cpp qmock2plugin.h
|
||||
LIBRARIES
|
||||
Qt::Core
|
||||
Qt::MockPlugins1
|
||||
)
|
@ -0,0 +1 @@
|
||||
{}
|
10
tests/auto/cmake/mockplugins/mock2plugin/qmock2plugin.cpp
Normal file
10
tests/auto/cmake/mockplugins/mock2plugin/qmock2plugin.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include "qmock2plugin.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
QString QMock2Plugin::pluginName() const
|
||||
{
|
||||
return "QMock2Plugin";
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
23
tests/auto/cmake/mockplugins/mock2plugin/qmock2plugin.h
Normal file
23
tests/auto/cmake/mockplugins/mock2plugin/qmock2plugin.h
Normal file
@ -0,0 +1,23 @@
|
||||
// Copyright (C) 2018 Kitware, Inc.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
#ifndef QMOCK2PLUGIN_H
|
||||
#define QMOCK2PLUGIN_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QtMockPlugins1/QMockPlugin>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QMock2Plugin : public QObject, public QMockPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID QMockPlugin_iid FILE "mock2plugin.json")
|
||||
Q_INTERFACES(QMockPlugin)
|
||||
public:
|
||||
QString pluginName() const override;
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QMOCK2PLUGIN_H
|
13
tests/auto/cmake/mockplugins/mock3plugin/CMakeLists.txt
Normal file
13
tests/auto/cmake/mockplugins/mock3plugin/CMakeLists.txt
Normal file
@ -0,0 +1,13 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
qt_internal_add_plugin(QMock3Plugin
|
||||
NO_UNITY_BUILD
|
||||
CLASS_NAME QMock3Plugin
|
||||
PLUGIN_TYPE mockplugin
|
||||
SOURCES
|
||||
qmock3plugin.cpp qmock3plugin.h
|
||||
LIBRARIES
|
||||
Qt::Core
|
||||
Qt::MockPlugins1
|
||||
)
|
@ -0,0 +1 @@
|
||||
{}
|
10
tests/auto/cmake/mockplugins/mock3plugin/qmock3plugin.cpp
Normal file
10
tests/auto/cmake/mockplugins/mock3plugin/qmock3plugin.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include "qmock3plugin.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
QString QMock3Plugin::pluginName() const
|
||||
{
|
||||
return "QMock3Plugin";
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
23
tests/auto/cmake/mockplugins/mock3plugin/qmock3plugin.h
Normal file
23
tests/auto/cmake/mockplugins/mock3plugin/qmock3plugin.h
Normal file
@ -0,0 +1,23 @@
|
||||
// Copyright (C) 2018 Kitware, Inc.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
#ifndef QMOCK3PLUGIN_H
|
||||
#define QMOCK3PLUGIN_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QtMockPlugins1/QMockPlugin>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QMock3Plugin : public QObject, public QMockPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID QMockPlugin_iid FILE "mock3plugin.json")
|
||||
Q_INTERFACES(QMockPlugin)
|
||||
public:
|
||||
QString pluginName() const override;
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QMOCK3PLUGIN_H
|
14
tests/auto/cmake/mockplugins/mock4plugin/CMakeLists.txt
Normal file
14
tests/auto/cmake/mockplugins/mock4plugin/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
qt_internal_add_plugin(QMock4Plugin
|
||||
NO_UNITY_BUILD
|
||||
CLASS_NAME QMock4Plugin
|
||||
PLUGIN_TYPE mockplugin
|
||||
DEFAULT_IF FALSE
|
||||
SOURCES
|
||||
qmock4plugin.cpp qmock4plugin.h
|
||||
LIBRARIES
|
||||
Qt::Core
|
||||
Qt::MockPlugins1
|
||||
)
|
@ -0,0 +1 @@
|
||||
{}
|
10
tests/auto/cmake/mockplugins/mock4plugin/qmock4plugin.cpp
Normal file
10
tests/auto/cmake/mockplugins/mock4plugin/qmock4plugin.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include "qmock4plugin.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
QString QMock4Plugin::pluginName() const
|
||||
{
|
||||
return "QMock4Plugin";
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
23
tests/auto/cmake/mockplugins/mock4plugin/qmock4plugin.h
Normal file
23
tests/auto/cmake/mockplugins/mock4plugin/qmock4plugin.h
Normal file
@ -0,0 +1,23 @@
|
||||
// Copyright (C) 2018 Kitware, Inc.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
#ifndef QMOCK4PLUGIN_H
|
||||
#define QMOCK4PLUGIN_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QtMockPlugins1/QMockPlugin>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QMock4Plugin : public QObject, public QMockPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID QMockPlugin_iid FILE "mock4plugin.json")
|
||||
Q_INTERFACES(QMockPlugin)
|
||||
public:
|
||||
QString pluginName() const override;
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QMOCK4PLUGIN_H
|
14
tests/auto/cmake/mockplugins/mock5plugin/CMakeLists.txt
Normal file
14
tests/auto/cmake/mockplugins/mock5plugin/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
qt_internal_add_plugin(QMock5Plugin
|
||||
NO_UNITY_BUILD
|
||||
CLASS_NAME QMock5Plugin
|
||||
PLUGIN_TYPE mockplugin
|
||||
DEFAULT_IF FALSE
|
||||
SOURCES
|
||||
qmock5plugin.cpp qmock5plugin.h
|
||||
LIBRARIES
|
||||
Qt::Core
|
||||
Qt::MockPlugins3
|
||||
)
|
@ -0,0 +1 @@
|
||||
{}
|
10
tests/auto/cmake/mockplugins/mock5plugin/qmock5plugin.cpp
Normal file
10
tests/auto/cmake/mockplugins/mock5plugin/qmock5plugin.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include "qmock5plugin.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
QString QMock5Plugin::pluginName() const
|
||||
{
|
||||
return "QMock5Plugin";
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
23
tests/auto/cmake/mockplugins/mock5plugin/qmock5plugin.h
Normal file
23
tests/auto/cmake/mockplugins/mock5plugin/qmock5plugin.h
Normal file
@ -0,0 +1,23 @@
|
||||
// Copyright (C) 2018 Kitware, Inc.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
#ifndef QMOCK5PLUGIN_H
|
||||
#define QMOCK5PLUGIN_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QtMockPlugins1/QMockPlugin>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QMock5Plugin : public QObject, public QMockPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID QMockPlugin_iid FILE "mock5plugin.json")
|
||||
Q_INTERFACES(QMockPlugin)
|
||||
public:
|
||||
QString pluginName() const override;
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QMOCK5PLUGIN_H
|
13
tests/auto/cmake/mockplugins/mock6plugin/CMakeLists.txt
Normal file
13
tests/auto/cmake/mockplugins/mock6plugin/CMakeLists.txt
Normal file
@ -0,0 +1,13 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
qt_internal_add_plugin(QMock6Plugin
|
||||
NO_UNITY_BUILD
|
||||
CLASS_NAME QMock6Plugin
|
||||
PLUGIN_TYPE mockauxplugin
|
||||
SOURCES
|
||||
qmock6plugin.cpp qmock6plugin.h
|
||||
LIBRARIES
|
||||
Qt::Core
|
||||
Qt::MockPlugins3
|
||||
)
|
@ -0,0 +1 @@
|
||||
{}
|
10
tests/auto/cmake/mockplugins/mock6plugin/qmock6plugin.cpp
Normal file
10
tests/auto/cmake/mockplugins/mock6plugin/qmock6plugin.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include "qmock6plugin.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
QString QMock6Plugin::pluginName() const
|
||||
{
|
||||
return "QMock6Plugin";
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
23
tests/auto/cmake/mockplugins/mock6plugin/qmock6plugin.h
Normal file
23
tests/auto/cmake/mockplugins/mock6plugin/qmock6plugin.h
Normal file
@ -0,0 +1,23 @@
|
||||
// Copyright (C) 2018 Kitware, Inc.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
#ifndef QMOCK6PLUGIN_H
|
||||
#define QMOCK6PLUGIN_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QtMockPlugins3/QMockAuxPlugin>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QMock6Plugin : public QObject, public QMockAuxPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID QMockAuxPlugin_iid FILE "mock6plugin.json")
|
||||
Q_INTERFACES(QMockAuxPlugin)
|
||||
public:
|
||||
QString pluginName() const override;
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QMOCK6PLUGIN_H
|
14
tests/auto/cmake/mockplugins/mockplugins1/CMakeLists.txt
Normal file
14
tests/auto/cmake/mockplugins/mockplugins1/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
qt_internal_add_module(MockPlugins1
|
||||
NO_UNITY_BUILD
|
||||
PLUGIN_TYPES mockplugin
|
||||
SOURCES
|
||||
qmockplugin.h
|
||||
fake.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
)
|
@ -0,0 +1,2 @@
|
||||
# This is needed so that MODULE_PLUGIN_TYPES property is set on the exported target.
|
||||
# Fun times.
|
9
tests/auto/cmake/mockplugins/mockplugins1/fake.cpp
Normal file
9
tests/auto/cmake/mockplugins/mockplugins1/fake.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
// Copyright (C) 2019 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include <QtCore/QtGlobal>
|
||||
|
||||
// Empty exported function needed to create .lib on Windows.
|
||||
Q_DECL_EXPORT void mockplugins1_foo() {
|
||||
|
||||
}
|
25
tests/auto/cmake/mockplugins/mockplugins1/qmockplugin.h
Normal file
25
tests/auto/cmake/mockplugins/mockplugins1/qmockplugin.h
Normal file
@ -0,0 +1,25 @@
|
||||
// Copyright (C) 2018 Kitware, Inc.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
#ifndef QMOCKPLUGIN_H
|
||||
#define QMOCKPLUGIN_H
|
||||
|
||||
#include <QtCore/QString>
|
||||
#include <QtCore/QtPlugin>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#define QMockPlugin_iid "org.qt-project.Qt.Tests.QMockPlugin"
|
||||
|
||||
class QMockPlugin
|
||||
{
|
||||
public:
|
||||
virtual ~QMockPlugin() {}
|
||||
virtual QString pluginName() const = 0;
|
||||
};
|
||||
|
||||
Q_DECLARE_INTERFACE(QMockPlugin, QMockPlugin_iid)
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QMOCKPLUGIN_H
|
12
tests/auto/cmake/mockplugins/mockplugins2/CMakeLists.txt
Normal file
12
tests/auto/cmake/mockplugins/mockplugins2/CMakeLists.txt
Normal file
@ -0,0 +1,12 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
qt_internal_add_module(MockPlugins2
|
||||
NO_UNITY_BUILD
|
||||
SOURCES
|
||||
fake.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
)
|
9
tests/auto/cmake/mockplugins/mockplugins2/fake.cpp
Normal file
9
tests/auto/cmake/mockplugins/mockplugins2/fake.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
// Copyright (C) 2019 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include <QtCore/QtGlobal>
|
||||
|
||||
// Empty exported function needed to create .lib on Windows.
|
||||
Q_DECL_EXPORT void mockplugins2_foo() {
|
||||
|
||||
}
|
14
tests/auto/cmake/mockplugins/mockplugins3/CMakeLists.txt
Normal file
14
tests/auto/cmake/mockplugins/mockplugins3/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
qt_internal_add_module(MockPlugins3
|
||||
NO_UNITY_BUILD
|
||||
PLUGIN_TYPES mockauxplugin
|
||||
SOURCES
|
||||
qmockauxplugin.h
|
||||
fake.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
)
|
@ -0,0 +1,2 @@
|
||||
# This is needed so that MODULE_PLUGIN_TYPES property is set on the exported target.
|
||||
# Fun times.
|
9
tests/auto/cmake/mockplugins/mockplugins3/fake.cpp
Normal file
9
tests/auto/cmake/mockplugins/mockplugins3/fake.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
// Copyright (C) 2019 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include <QtCore/QtGlobal>
|
||||
|
||||
// Empty exported function needed to create .lib on Windows.
|
||||
Q_DECL_EXPORT void mockplugins3_foo() {
|
||||
|
||||
}
|
25
tests/auto/cmake/mockplugins/mockplugins3/qmockauxplugin.h
Normal file
25
tests/auto/cmake/mockplugins/mockplugins3/qmockauxplugin.h
Normal file
@ -0,0 +1,25 @@
|
||||
// Copyright (C) 2018 Kitware, Inc.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
#ifndef QMOCKAUXPLUGIN_H
|
||||
#define QMOCKAUXPLUGIN_H
|
||||
|
||||
#include <QtCore/QString>
|
||||
#include <QtCore/QtPlugin>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#define QMockAuxPlugin_iid "org.qt-project.Qt.Tests.QMockAuxPlugin"
|
||||
|
||||
class QMockAuxPlugin
|
||||
{
|
||||
public:
|
||||
virtual ~QMockAuxPlugin() {}
|
||||
virtual QString pluginName() const = 0;
|
||||
};
|
||||
|
||||
Q_DECLARE_INTERFACE(QMockAuxPlugin, QMockAuxPlugin_iid)
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QMOCKAUXPLUGIN_H
|
Reference in New Issue
Block a user