Doc: Show how to pass the -codesign argument to macdeployqt
It's not obvious how to correctly quote arguments with spaces when using the DEPLOY_TOOL_OPTIONS argument of qt_deploy_runtime_dependencies. Add an example for the -codesign argument of macdeployqt. Pick-to: 6.8 Fixes: QTBUG-136348 Change-Id: Ic7f11c52f234bd3022976289a8facc7627e20c67 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 86d93cc349ca9f1205f5e48bdf3d6d16a935118f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
9de2cc9396
commit
9c63f62767
@ -1,7 +1,10 @@
|
|||||||
\badcode
|
\badcode
|
||||||
set(deploy_tool_options_arg "")
|
set(deploy_tool_options_arg "")
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
set(deploy_tool_options_arg --hardened-runtime)
|
set(deploy_tool_options_arg
|
||||||
|
-hardened-runtime
|
||||||
|
"\"-codesign=Developer ID Application: Joe Developer (1234567890)\""
|
||||||
|
)
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
set(deploy_tool_options_arg --no-compiler-runtime)
|
set(deploy_tool_options_arg --no-compiler-runtime)
|
||||||
endif()
|
endif()
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
\badcode
|
\badcode
|
||||||
set(deploy_tool_options_arg "")
|
set(deploy_tool_options_arg "")
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
set(deploy_tool_options_arg --hardened-runtime)
|
set(deploy_tool_options_arg
|
||||||
|
-hardened-runtime
|
||||||
|
"\"-codesign=Developer ID Application: Joe Developer (1234567890)\""
|
||||||
|
)
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
set(deploy_tool_options_arg --no-compiler-runtime)
|
set(deploy_tool_options_arg --no-compiler-runtime)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user