summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-06-02 17:08:35 +0200
committerKai Köhne <kai.koehne@qt.io>2021-06-04 16:44:08 +0200
commitcda75ef27a53ad25ca00085601108536dfa556fe (patch)
treed158cefc39c822cc5b45000d406d3b72c2ede922 /src/corelib
parent20b3eb0fd8b5f82cf432f2c06e7c5d3f533df0a5 (diff)
Bring back qt_finalize_executable
qt_finalize_executable was renamed to qt_finalize_target in commit c4df673dd903. Anyhow, app wizards in Qt Creator 4.15 already use it, so let's keep it as an synonym API for the time being. Fixes: QTBUG-94156 Change-Id: I468443c80c027ac49a21208a9b15af1dbb4a5f84 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/Qt6CoreMacros.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/Qt6CoreMacros.cmake b/src/corelib/Qt6CoreMacros.cmake
index 57c730b42d..0352a03413 100644
--- a/src/corelib/Qt6CoreMacros.cmake
+++ b/src/corelib/Qt6CoreMacros.cmake
@@ -757,6 +757,11 @@ if(NOT QT_NO_CREATE_VERSIONLESS_FUNCTIONS)
function(qt_finalize_target)
qt6_finalize_target(${ARGV})
endfunction()
+
+ # Kept for compatibility with Qt Creator 4.15 wizards
+ function(qt_finalize_executable)
+ qt6_finalize_target(${ARGV})
+ endfunction()
endif()
# Temporarily keep compatibility, until all repositories are migrated.