qt5base-lts/examples/widgets/tools/CMakeLists.txt
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

20 lines
514 B
CMake

# Generated from tools.pro.
add_subdirectory(codecs)
add_subdirectory(completer)
add_subdirectory(customcompleter)
if(QT_FEATURE_translation) # special case
add_subdirectory(i18n)
endif()
add_subdirectory(regularexpression)
add_subdirectory(settingseditor)
add_subdirectory(styleplugin)
add_subdirectory(treemodelcompleter)
add_subdirectory(undo)
add_subdirectory(undoframework)
if(QT_FEATURE_library) # special case
add_subdirectory(echoplugin)
add_subdirectory(plugandpaint) # special case
endif()