Doc: Fix the example for qt_generate_deploy_script
The EXECUTABLE argument must point to the full path of the created executable, not just the file name. Otherwise, qt_deploy_runtime_dependencies won't file the file. Pick-to: 6.8 6.9 Change-Id: I18b6214b9f46c0ad4b99ca57468fe272efb9d718 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
363f7000c5
commit
e07b4d4394
@ -20,7 +20,7 @@ qt_generate_deploy_script(
|
||||
OUTPUT_SCRIPT deploy_script
|
||||
CONTENT "
|
||||
qt_deploy_runtime_dependencies(
|
||||
EXECUTABLE $<TARGET_FILE_NAME:MyApp>
|
||||
EXECUTABLE $<TARGET_FILE:MyApp>
|
||||
)
|
||||
")
|
||||
install(SCRIPT ${deploy_script})
|
||||
|
Loading…
x
Reference in New Issue
Block a user