summaryrefslogtreecommitdiffstats
path: root/cmake/QtProperties.cmake
diff options
context:
space:
mode:
authorJean-Michaƫl Celerier <jean-michael.celerier@kdab.com>2019-09-23 16:57:06 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-10-09 09:05:39 +0000
commitd1542e8a73f535011d42970cc5b1b28a414c14c9 (patch)
tree8d92a1b383315b653bea84310d5894b4c0791aad /cmake/QtProperties.cmake
parentb7adc85642584be26a1870617a9aa83c16e40cfb (diff)
Match qt_import_plugin API with qt5's
Some work was needed to make the plug-in types, and which plug-ins are available for each type in client code. Change-Id: Ib71feca31069deca3d3f54c8613054f5f8ae410c Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Qt CMake Build Bot
Diffstat (limited to 'cmake/QtProperties.cmake')
-rw-r--r--cmake/QtProperties.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/QtProperties.cmake b/cmake/QtProperties.cmake
index 43a7393cdf..5e2d6f0545 100644
--- a/cmake/QtProperties.cmake
+++ b/cmake/QtProperties.cmake
@@ -30,6 +30,16 @@ define_property(TARGET
define_property(TARGET
PROPERTY
+ QT_PLUGIN_TYPE
+ BRIEF_DOCS
+ "Type of the Qt plug-in"
+ FULL_DOCS
+ "This is a property on Qt plug-ins.
+ For example, the value of the QT_PLUGIN_TYPE property on the qico plugin is \"imageformats\""
+)
+
+define_property(TARGET
+ PROPERTY
QT_MODULE
BRIEF_DOCS
"Qt module associated with a plug-in."