We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d519147 + 416c801 commit 29bb28fCopy full SHA for 29bb28f
1 file changed
cmake/devtools_qt_helper.cmake
@@ -73,11 +73,18 @@ if (Qt6_DIR)
73
)")
74
else()
75
# Generate deployment script of Qt binaries and plugins
76
- qt_generate_deploy_app_script(TARGET ${PROJECT_NAME}
77
- OUTPUT_SCRIPT deploy_script
78
- NO_UNSUPPORTED_PLATFORM_ERROR
79
- NO_TRANSLATIONS
+ if (QT_VERSION_MAJOR EQUAL 6 AND QT_VERSION_MINOR GREATER_EQUAL 5)
+ qt_generate_deploy_app_script(TARGET ${PROJECT_NAME}
+ OUTPUT_SCRIPT deploy_script
+ NO_UNSUPPORTED_PLATFORM_ERROR
80
+ NO_TRANSLATIONS
81
+ )
82
+ else()
83
84
+ FILENAME_VARIABLE deploy_script
85
86
)
87
+ endif()
88
endif()
89
90
install(SCRIPT ${deploy_script} COMPONENT ${component})
0 commit comments