aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@qt.io>2021-07-13 12:22:48 +1000
committerCraig Scott <craig.scott@qt.io>2021-07-14 15:22:17 +1000
commit13d86a3c4e18c4792f246fb2972a5ffe738af65a (patch)
tree9260ebd72272f9b11258b389e8806f2af62476dc
parent5e7a33a513374827b1c9e55787cdfe958663fb62 (diff)
CMake: Remove unused function parameters
Pick-to: 6.2 Change-Id: I81ce6495660d8bcd45d69cb45a365a2ca99f53ac Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--src/qml/Qt6QmlMacros.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/Qt6QmlMacros.cmake b/src/qml/Qt6QmlMacros.cmake
index 4d5d99f40b..bb6492aded 100644
--- a/src/qml/Qt6QmlMacros.cmake
+++ b/src/qml/Qt6QmlMacros.cmake
@@ -453,7 +453,7 @@ function(qt6_add_qml_module target)
set(output_targets)
if(NOT arg_NO_GENERATE_QMLDIR)
- _qt_internal_target_generate_qmldir(${target} ${arg_OUTPUT_DIRECTORY} ${arg_TARGET_PATH})
+ _qt_internal_target_generate_qmldir(${target})
# Embed qmldir in qrc. The following comments relate mostly to Qt5->6 transition.
# The requirement to keep the same resource name might no longer apply, but it doesn't
@@ -739,7 +739,7 @@ endfunction()
# trigger some unnecessary rebuilds after reconfiguring due to the qmldir
# file's timestamp being updated even though its contents might not change,
# but that's the cost of not having deferred write capability.
-function(_qt_internal_target_generate_qmldir target out_dir target_path)
+function(_qt_internal_target_generate_qmldir target)
macro(_qt_internal_qmldir_item prefix property)
get_target_property(_value ${target} ${property})