File size: 475 Bytes
ec038f4
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Custom hook for PySide6.QtNetwork to avoid subprocess crash during SSL check
# This bypasses the problematic _check_if_openssl_enabled() call

from PyInstaller.utils.hooks.qt import get_qt_library_info

# Get PySide6 info
pyside6_library_info = get_qt_library_info('PySide6')

# Collect Qt plugins without triggering SSL check
datas = []
binaries = []

# Just add basic hiddenimports - skip the problematic SSL detection
hiddenimports = ['PySide6.QtNetwork']