forked from qt-creator/qt-creator
deploy tls plugins to fix ssl downloads
it fixes https example downloads in QtDesignStudio Change-Id: Ib162e630ae3a66691bec6d8f32cee241614e01e6 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -390,6 +390,7 @@ def main():
|
||||
'wayland-decoration-client',
|
||||
'wayland-graphics-integration-client',
|
||||
'wayland-shell-integration',
|
||||
'tls'
|
||||
]
|
||||
|
||||
if common.is_windows_platform():
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user