From 5ec01643909531bdfa93a56cc5b937b43adcdb5d Mon Sep 17 00:00:00 2001 From: Rebecca Breu Date: Thu, 8 Jul 2021 20:31:04 +0200 Subject: [PATCH] Build now includes Qt's imageformats plugins --- build.py | 3 ++- images/python_version_badge.svg | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 030c102..eaaed16 100644 --- a/build.py +++ b/build.py @@ -32,10 +32,11 @@ PyInstaller.__main__.run([ '--windowed', '--name', appname, '--hidden-import', 'PyQt6.sip', - '--hidden-import', 'PyQt6.QtPrintSupport', '--icon', os.path.join('beeref', 'assets', icon), '--add-data', datapath( [pyqt_dir, 'plugins', 'platforms'], ['platforms']), + '--add-data', datapath( + [pyqt_dir, 'plugins', 'imageformats'], ['imageformats']), '--add-data', datapath([pyqt_dir, libdir], ['.']), '--add-data', datapath( ['beeref', 'documentation'], ['beeref', 'documentation']), diff --git a/images/python_version_badge.svg b/images/python_version_badge.svg index 5e2d0e6..363a078 100644 --- a/images/python_version_badge.svg +++ b/images/python_version_badge.svg @@ -1 +1 @@ -PythonPython3.7 | 3.8 | 3.93.6 | 3.7 | 3.8 | 3.9 +PythonPython3.7 | 3.8 | 3.93.7 | 3.8 | 3.9