From d55d9e730bb13c76442f501c164e019eafdb9d58 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 16 Jun 2021 14:20:32 +0200 Subject: 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 Reviewed-by: Ulf Hermann (cherry picked from commit c5743097fd8f26eaad13e0b97cac8e7168d08d11) Reviewed-by: Qt Cherry-pick Bot --- src/qml/Qt6QmlBuildInternals.cmake | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src') 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() -- cgit v1.2.3