summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-04-16 08:50:00 +0200
committerKai Koehne <kai.koehne@qt.io>2020-04-16 14:22:37 +0200
commita420b1beb7c39c3e2625f274318d4488adee8c8e (patch)
tree73dc9d7ede7e423cc5eb3c9d224c259b534095e6
parent49bfae2002017bf68c36948e142eafd91d712c4c (diff)
downloadqtdoc-a420b1beb7c39c3e2625f274318d4488adee8c8e.tar.gz
CMake: Remove mentioning of plugins locations
It's unclear in the context why this information is useful. We should consider writing a paragraph about Qt plugins in static builds though. Change-Id: I8323edc54522b2e68d8aa2295538b21617da503d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
-rw-r--r--doc/src/cmake/cmake-manual.qdoc7
-rw-r--r--doc/src/cmake/snippets/cmake/examples.cmake8
2 files changed, 0 insertions, 15 deletions
diff --git a/doc/src/cmake/cmake-manual.qdoc b/doc/src/cmake/cmake-manual.qdoc
index 21f95650..51a4c3f7 100644
--- a/doc/src/cmake/cmake-manual.qdoc
+++ b/doc/src/cmake/cmake-manual.qdoc
@@ -120,13 +120,6 @@
configuration to either the debug or the release Qt configuration.
\snippet snippets/cmake/examples.cmake 2
-
- In \c{CMake}, plugins are also available as \c IMPORTED targets. The \l{Qt Network}, \l{Qt SQL},
- \l{Qt GUI}, and \l{Qt Widgets} modules have plugins associated. They provide a list of plugins
- in the \c{Qt5}\e{<Module>}\c{_PLUGINS} variable.
-
- \snippet snippets/cmake/examples.cmake 5
-
*/
/*!
diff --git a/doc/src/cmake/snippets/cmake/examples.cmake b/doc/src/cmake/snippets/cmake/examples.cmake
index 264f3c05..0a621f26 100644
--- a/doc/src/cmake/snippets/cmake/examples.cmake
+++ b/doc/src/cmake/snippets/cmake/examples.cmake
@@ -38,11 +38,3 @@ set(CMAKE_CXX_FLAGS_COVERAGE "${CMAKE_CXX_FLAGS_RELEASE} -fprofile-arcs -ftest-c
# used in the COVERAGE CMake configuration.
set_target_properties(Qt5::Core PROPERTIES MAP_IMPORTED_CONFIG_COVERAGE "RELEASE")
#! [2]
-
-#! [5]
-foreach(plugin ${Qt5Network_PLUGINS})
- get_target_property(_loc ${plugin} LOCATION)
- message("Plugin ${plugin} is at location ${_loc}")
-endforeach()
-#! [5]
-