aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-14 13:22:33 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-16 16:35:24 +0200
commit0d36866f87c0358eabf8a1fd5054c04a53531e90 (patch)
treec78628c4f2548accba8570adfdb41812758d22dd /src
parent23dbe3d6e0d3338812ad9f614028a6fdc5a54090 (diff)
CMake: Mark some of the public APIs as TP
We don't have tests for them yet. The API surface is quite big. Some options might not make sense anymore. Task-number: QTBUG-86827 Change-Id: I4aebdb2cdfa716433681d32967ab32f1c171925c Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qml/Qt6QmlMacros.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qml/Qt6QmlMacros.cmake b/src/qml/Qt6QmlMacros.cmake
index c2fe180ffe..9d6024459f 100644
--- a/src/qml/Qt6QmlMacros.cmake
+++ b/src/qml/Qt6QmlMacros.cmake
@@ -81,7 +81,8 @@
# type registration functions are already available by other means, typically
# by linking a library proxied by the plugin, it won't be loaded.
#
-
+# This function is currently in Technical Preview.
+# It's signature and behavior might change.
function(qt6_add_qml_module target)
set(args_optional
@@ -474,6 +475,8 @@ endif()
# MyQmlFile 2.0 my_qml_file.qml
#
#
+# This function is currently in Technical Preview.
+# It's signature and behavior might change.
function(qt6_target_qml_files target)
cmake_parse_arguments(arg "" "" "FILES" ${ARGN})
@@ -575,6 +578,8 @@ endif()
# QT_QMLTYPES_FILENAME: If the target has the target property QT_QMLTPYES_FILENAME set, it will be
# used for the name of the generated file. Otherwise, the file will be named plugins.qmltypes if the
# target is a plugin, or ${target}.qmltypes in all other cases
+# This function is currently in Technical Preview.
+# It's signature and behavior might change.
function(qt6_qml_type_registration target)
get_target_property(import_name ${target} QT_QML_MODULE_URI)