diff --git a/scripts/deployqt.py b/scripts/deployqt.py index ab105f308ac..5ac56bedc3f 100755 --- a/scripts/deployqt.py +++ b/scripts/deployqt.py @@ -390,6 +390,7 @@ def main(): 'wayland-decoration-client', 'wayland-graphics-integration-client', 'wayland-shell-integration', + 'tls' ] if common.is_windows_platform(): diff --git a/scripts/deployqtHelper_mac.sh b/scripts/deployqtHelper_mac.sh index 97cefee46bf..815054b4e83 100755 --- a/scripts/deployqtHelper_mac.sh +++ b/scripts/deployqtHelper_mac.sh @@ -67,6 +67,17 @@ if [ -d "$assetimporterSrcDir" ]; then fi fi +# collect tls plugins to have ssl download feature available +tlsDestDir="$app_path/Contents/PlugIns/tls" +tlssrcDir="$plugin_src/tls" +if [ -d "$tlssrcDir" ]; then + if [ ! -d "$tlsDestDir" ]; then + echo "- Copying tls plugins to have ssl download feature available" + mkdir -p "$tlsDestDir" + find "$tlssrcDir" -iname "*.dylib" -maxdepth 1 -exec cp {} "$tlsDestDir"/ \; + fi +fi + # workaround for Qt 6.2: # - QTBUG-94796 macdeployqt does not deploy /Contents/PlugIns/sqldrivers/libqsqlite.dylib anymore sqldriversDestDir="$app_path/Contents/PlugIns/sqldrivers"