mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-07 17:50:59 +08:00
qt 6.5.1 original
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#####################################################################
|
||||
## releaseplugin Generic Library:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_cmake_library(releaseplugin
|
||||
MODULE
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../plugins"
|
||||
SOURCES
|
||||
main.cpp
|
||||
LIBRARIES
|
||||
Qt::Core
|
||||
)
|
||||
|
||||
qt_autogen_tools_initial_setup(releaseplugin)
|
14
tests/auto/corelib/plugin/qplugin/releaseplugin/main.cpp
Normal file
14
tests/auto/corelib/plugin/qplugin/releaseplugin/main.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
#include <QtPlugin>
|
||||
#include <QObject>
|
||||
|
||||
class ReleasePlugin : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "SomeIID")
|
||||
public:
|
||||
ReleasePlugin() {}
|
||||
};
|
||||
|
||||
#include "main.moc"
|
Reference in New Issue
Block a user