aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/Qt5QmlConfigExtras.cmake.in
diff options
context:
space:
mode:
authorKevin Funk <kevin.funk@kdab.com>2015-11-02 07:18:01 +0100
committerKevin Funk <kevin.funk@kdab.com>2015-11-02 08:42:52 +0000
commit2f2dd3b0c28db210ea1f00d569f6c1626894c5f4 (patch)
tree6fe67c0d680bd95ca9d9ea41bf1c1edee18ace4e /src/qml/Qt5QmlConfigExtras.cmake.in
parenteab47802925acb34a6785639bb34bfa97e58643f (diff)
CMake: Make sure to export all plugins
Also export plugins ending on "Factory". CMake by default only picks up plugins which have a PLUGIN_CLASS_NAME ending on "Plugin" Task-number: QTBUG-43438 Change-Id: Ib954276dc0eee83f9d48bed0502a16df8194ce9b Reviewed-by: Tim Blechmann <tim@klingt.org> Reviewed-by: Stephen Kelly <steveire@gmail.com>
Diffstat (limited to 'src/qml/Qt5QmlConfigExtras.cmake.in')
-rw-r--r--src/qml/Qt5QmlConfigExtras.cmake.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/Qt5QmlConfigExtras.cmake.in b/src/qml/Qt5QmlConfigExtras.cmake.in
new file mode 100644
index 0000000000..9ddb9885cd
--- /dev/null
+++ b/src/qml/Qt5QmlConfigExtras.cmake.in
@@ -0,0 +1,5 @@
+file(GLOB _qt5qml_other_plugins "${CMAKE_CURRENT_LIST_DIR}/Qt5Qml_*Factory.cmake")
+
+foreach(_other_plugin ${_qt5qml_other_plugins})
+ include(${_other_plugin} OPTIONAL)
+endforeach()