mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-05 16:55:25 +08:00
qt 6.5.1 original
This commit is contained in:
@ -0,0 +1,25 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#####################################################################
|
||||
## moctestplugin Generic Library:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_cmake_library(moctestplugin
|
||||
STATIC
|
||||
SOURCES
|
||||
main.cpp
|
||||
LIBRARIES
|
||||
Qt::Core
|
||||
DEFINES
|
||||
QT_STATICPLUGIN
|
||||
)
|
||||
|
||||
qt_internal_add_resource(moctestplugin "qmake_plugin_resource"
|
||||
PREFIX
|
||||
"/staticplugin"
|
||||
FILES
|
||||
"main.cpp"
|
||||
)
|
||||
|
||||
qt_autogen_tools_initial_setup(moctestplugin)
|
@ -0,0 +1,9 @@
|
||||
#include <QObject>
|
||||
|
||||
class PluginClass : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.tests.moc" FILE "staticplugin.json")
|
||||
};
|
||||
|
||||
#include "main.moc"
|
@ -0,0 +1 @@
|
||||
{ "Keys": [ "staticplugin" ] }
|
Reference in New Issue
Block a user