From 02249e399276626defb1f509e0fb7893ce0f4e81 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 13 Jun 2025 13:53:50 +0000 Subject: [PATCH] win/mac build: don't exclude QtNetwork, as it is needed by QtMultimedia (used for camera) fixes https://github.com/spesmilo/electrum/issues/9949 follow-up https://github.com/spesmilo/electrum/commit/b6e4ec8f95c5f405dc4c0b6750df076e56740ae0 --- contrib/build-wine/pyinstaller.spec | 2 +- contrib/osx/pyinstaller.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/build-wine/pyinstaller.spec b/contrib/build-wine/pyinstaller.spec index c127e7936..09f1655fd 100644 --- a/contrib/build-wine/pyinstaller.spec +++ b/contrib/build-wine/pyinstaller.spec @@ -56,7 +56,6 @@ datas += copy_metadata('slip10') # from trezor->slip10 excludes = [ "PyQt6.QtBluetooth", "PyQt6.QtDesigner", - "PyQt6.QtNetwork", "PyQt6.QtNfc", "PyQt6.QtPositioning", "PyQt6.QtQml", @@ -73,6 +72,7 @@ excludes = [ "PyQt6.QtWebChannel", "PyQt6.QtWebSockets", "PyQt6.QtXml", + # "PyQt6.QtNetwork", # needed by QtMultimedia. kinda weird but ok. ] # We don't put these files in to actually include them in the script but to make the Analysis method scan them for imports diff --git a/contrib/osx/pyinstaller.spec b/contrib/osx/pyinstaller.spec index b1c0a6151..5cd612eda 100644 --- a/contrib/osx/pyinstaller.spec +++ b/contrib/osx/pyinstaller.spec @@ -59,7 +59,6 @@ datas += copy_metadata('slip10') # from trezor->slip10 excludes = [ "PyQt6.QtBluetooth", "PyQt6.QtDesigner", - "PyQt6.QtNetwork", "PyQt6.QtNfc", "PyQt6.QtPositioning", "PyQt6.QtQml", @@ -76,6 +75,7 @@ excludes = [ "PyQt6.QtWebChannel", "PyQt6.QtWebSockets", "PyQt6.QtXml", + # "PyQt6.QtNetwork", # needed by QtMultimedia. kinda weird but ok. ] # We don't put these files in to actually include them in the script but to make the Analysis method scan them for imports