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>
This commit is contained in:
Alexandru Croitor 2020-10-14 13:22:33 +02:00
parent 23dbe3d6e0
commit 0d36866f87
1 changed files with 6 additions and 1 deletions

View File

@ -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)