b2f00dfb46
The intention is to remove TYPE as a keyword completely before 6.2.0 release, but in case if that's not possible due to the large amount of repositories and examples, just print a deprecation warning for now and handle both TYPE and PLUGIN_TYPE. Task-number: QTBUG-95170 Pick-to: 6.2 Change-Id: If0c18345483b9254b0fc21120229fcc2a2fbfbf5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
11 lines
229 B
CMake
11 lines
229 B
CMake
qt_internal_add_plugin(QMock4Plugin
|
|
CLASS_NAME QMock4Plugin
|
|
PLUGIN_TYPE mockplugin
|
|
DEFAULT_IF FALSE
|
|
SOURCES
|
|
qmock4plugin.cpp qmock4plugin.h
|
|
PUBLIC_LIBRARIES
|
|
Qt::Core
|
|
Qt::MockPlugins1
|
|
)
|