aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/Qt6QmlBuildInternals.cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-06-16 14:20:32 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-06-16 15:39:05 +0200
commitc5743097fd8f26eaad13e0b97cac8e7168d08d11 (patch)
tree9f53b3b0d211125b9ab51b16b52b8005d9f37e42 /src/qml/Qt6QmlBuildInternals.cmake
parentc3b0f8756aee5cc9d965a641088390fff0fed459 (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. Pick-to: 6.2 Change-Id: I7959025acbf30ac94b6c20799089996a66c06fc2 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/Qt6QmlBuildInternals.cmake')
-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()