qt5base-lts/cmake/QtBuildInternals
Leander Beernaert 6fbeef4c6b CMake: Add qt6_add_plugin public API
This patch adds a publicly callable qt6_add_plugin() API to create
plugins. This API is meant to cover cases such as the plugandpaint
example.

This patch also renames qt_add_plugin to qt_internal_add_plugin in order
to avoid clashes with the public API. To avoid breaking the existing
projects, a compatibility wrapper function is enabled by default unless
QT_DISABLE_QT_ADD_PLUGIN_COMPATIBILITY is specified.

Fixes: QTBUG-82961
Change-Id: If5b564a8406c90434f1bdad0b8df76d3e6626b5f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-04-22 09:51:12 +02:00
..
QtStandaloneTestTemplateProject CMake: Make sure not to use the Qt prefix for standalone tests 2020-04-17 15:59:33 +02:00
QtBuildInternalsAndroid.cmake CMake: Fix incorrect argument in QtBuildInternalsAndroid 2020-03-12 11:41:46 +01:00
QtBuildInternalsConfig.cmake CMake: Add qt6_add_plugin public API 2020-04-22 09:51:12 +02:00