mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-05 08:45:25 +08:00
qt 6.5.1 original
This commit is contained in:
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() {
|
||||
|
||||
}
|
Reference in New Issue
Block a user