aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-06-16 14:20:32 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-16 16:00:18 +0000
commitd55d9e730bb13c76442f501c164e019eafdb9d58 (patch)
treef3a4d5d9e68d2440542ca545da7df8e6286eb92c
parentb42953cc207af942f3f2e9948fb83e605fdde000 (diff)
CMake: Remove compatibility functions
All our qt5.git repos are marked with QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS There are still some marketplace repos like quicktreeview that don't have it, but those should be fixed separately. The point is we don't want to override the public qt_add_qml_module function with the compatibility one. Change-Id: I7959025acbf30ac94b6c20799089996a66c06fc2 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit c5743097fd8f26eaad13e0b97cac8e7168d08d11) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/qml/Qt6QmlBuildInternals.cmake11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/qml/Qt6QmlBuildInternals.cmake b/src/qml/Qt6QmlBuildInternals.cmake
index 48ae45cf8c..2532d31cb9 100644
--- a/src/qml/Qt6QmlBuildInternals.cmake
+++ b/src/qml/Qt6QmlBuildInternals.cmake
@@ -329,14 +329,3 @@ function(qt_internal_add_qml_module target)
endif()
endif()
endfunction()
-
-if(NOT QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS)
- # Compatibility functions that should be removed once all their usages are removed.
- function(add_qml_module)
- qt_add_qml_module(${ARGV})
- endfunction()
-
- function(qt_add_qml_module)
- qt_internal_add_qml_module(${ARGV})
- endfunction()
-endif()