chore: update the file

This commit is contained in:
x-tools-author 2025-07-21 21:54:14 +08:00
parent aea754456f
commit bfeaaa522a

View File

@ -126,6 +126,11 @@ endfunction()
# --------------------------------------------------------------------------------------------------
# Deploy Qt for Windows
function(x_deploy_qt_for_windows target)
get_target_property(QT_TARGET_TYPE Qt${QT_VERSION_MAJOR}::Core TYPE)
if(QT_TARGET_TYPE STREQUAL "STATIC_LIBRARY")
return()
endif()
if(NOT DEFINED WINDEPLOYQT_EXECUTABLE)
set(WINDEPLOYQT_EXECUTABLE "${QT_DIR}/../../../bin/windeployqt.exe")
endif()