From 5fe52a0420a50e0d0e78bb7ff5d7625443a43673 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 14 Dec 2022 17:31:45 +0100 Subject: [PATCH] qmake: Document that QMAKE_PRE_LINK does not work with Xcode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When generating an Xcode project using qmake that's targeting the new Xcode build system, QMAKE_PRE_LINK does not work properly. It generates rules that conflict with the default linker rules. This is a limitation of the new Xcode build system which does not have any known workaround. Document the limitation. Pick-to: 5.15 6.2 6.4 6.5 Fixes: QTBUG-99601 Change-Id: Ie4e6bcb0603ced85f786e9f7f407172e84a00d83 Reviewed-by: Jörg Bornemann --- qmake/doc/src/qmake-manual.qdoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc index 41611be0e56..abdb894d03f 100644 --- a/qmake/doc/src/qmake-manual.qdoc +++ b/qmake/doc/src/qmake-manual.qdoc @@ -2680,7 +2680,8 @@ together. This variable is normally empty and therefore nothing is executed. - \note This variable takes no effect on Xcode projects. + \warning This variable is not supported when using the Xcode + generator and the new Xcode build system. \section1 QMAKE_PROJECT_NAME