tAdd Qt Windows style to the binary - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 363f3766d753f905bafe770114a30f489c448620 DIR parent 78a9424c48bd47d0d89470c6960bbe75f49bae64 HTML Author: Johann Bauer <bauerj@bauerj.eu> Date: Wed, 21 Feb 2018 02:00:21 +0100 Add Qt Windows style to the binary Closes: #3813 Diffstat: M contrib/build-wine/deterministic.s… | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) --- DIR diff --git a/contrib/build-wine/deterministic.spec b/contrib/build-wine/deterministic.spec t@@ -1,6 +1,6 @@ # -*- mode: python -*- -from PyInstaller.utils.hooks import collect_data_files, collect_submodules +from PyInstaller.utils.hooks import collect_data_files, collect_submodules, collect_dynamic_libs import sys for i, x in enumerate(sys.argv): t@@ -19,6 +19,12 @@ hiddenimports += collect_submodules('trezorlib') hiddenimports += collect_submodules('btchip') hiddenimports += collect_submodules('keepkeylib') +# Add libusb binary +binaries = [("c:/python3.5.4/libusb-1.0.dll", ".")] + +# Workaround for "Retro Look": +binaries += [b for b in collect_dynamic_libs('PyQt5') if 'qwindowsvista' in b[0]] + datas = [ (home+'lib/currencies.json', 'electrum'), (home+'lib/servers.json', 'electrum'), t@@ -51,7 +57,7 @@ a = Analysis([home+'electrum', home+'plugins/ledger/qt.py', #home+'packages/requests/utils.py' ], - binaries=[("c:/python3.5.4/libusb-1.0.dll", ".")], + binaries=binaries, datas=datas, #pathex=[home+'lib', home+'gui', home+'plugins'], hiddenimports=hiddenimports,