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 6.9 Fixes: QTBUG-136348 Change-Id: Ic7f11c52f234bd3022976289a8facc7627e20c67 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
f8987b2d0a
commit
86d93cc349
@ -1,7 +1,10 @@
|
||||
\badcode
|
||||
set(deploy_tool_options_arg "")
|
||||
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)
|
||||
set(deploy_tool_options_arg --no-compiler-runtime)
|
||||
endif()
|
||||
|
@ -1,7 +1,10 @@
|
||||
\badcode
|
||||
set(deploy_tool_options_arg "")
|
||||
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)
|
||||
set(deploy_tool_options_arg --no-compiler-runtime)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user