diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-06-17 15:57:23 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-06-17 19:13:07 +0000 |
commit | 4d5e2845583b072431aaf0695614910c01717e0f (patch) | |
tree | 2078830d8078ff64b623ddbf8823713827914d2d /src | |
parent | 703df7191956ba81cf17cb91746a669ba7f1c6e3 (diff) |
CMake: Remove old add_qt_gui_executable API
Repos should have migrated by now and the function should not be
advertised as a public one.
Task-number: QTBUG-88763
Change-Id: Ica5bc55670a17a28c0022f78c126a3a8a8ffdeb5
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 15c5f905072c28537586a070a5320201edeee316)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/Qt6CoreMacros.cmake | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/corelib/Qt6CoreMacros.cmake b/src/corelib/Qt6CoreMacros.cmake index 80f896b6ba..f292c5c5bc 100644 --- a/src/corelib/Qt6CoreMacros.cmake +++ b/src/corelib/Qt6CoreMacros.cmake @@ -764,12 +764,6 @@ if(NOT QT_NO_CREATE_VERSIONLESS_FUNCTIONS) endfunction() endif() -# Temporarily keep compatibility, until all repositories are migrated. -function(add_qt_gui_executable) - message(AUTHOR_WARNING "Please replace add_qt_gui_executable with qt_add_executable instead. The former will be removed shortly.") - qt6_add_executable(${ARGV}) -endfunction() - function(_qt_get_plugin_name_with_version target out_var) string(REGEX REPLACE "^Qt::(.+)" "Qt${QT_DEFAULT_MAJOR_VERSION}::\\1" qt_plugin_with_version "${target}") |