From 0d36866f87c0358eabf8a1fd5054c04a53531e90 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 14 Oct 2020 13:22:33 +0200 Subject: [PATCH] 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 --- src/qml/Qt6QmlMacros.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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)