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. Change-Id: I18b6214b9f46c0ad4b99ca57468fe272efb9d718 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit e07b4d4394be2885cb35ed2c08a3eaedb6fd26e4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 40fa39ba838de5f5a92bcc49594ec57ae80c6180)
This commit is contained in:
parent
71226748eb
commit
7e0165548a
@ -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