Build now includes Qt's imageformats plugins

This commit is contained in:
Rebecca Breu 2021-07-08 20:31:04 +02:00
parent 8dd0ee2aed
commit 5ec0164390
2 changed files with 3 additions and 2 deletions

View file

@ -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']),

View file

@ -1 +1 @@
<svg height="20" width="160.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="smooth" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="round"><rect fill="#fff" height="20" rx="3" width="160.2"/></clipPath><g clip-path="url(#round)"><rect fill="#555" height="20" width="48.1"/><rect fill="#007ec6" height="20" width="112.1" x="48.1"/><rect fill="url(#smooth)" height="20" width="160.2"/></g><g fill="#fff" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110" text-anchor="middle"><text fill="#010101" fill-opacity=".3" lengthAdjust="spacing" textLength="381.0" transform="scale(0.1)" x="250.5" y="150">Python</text><text lengthAdjust="spacing" textLength="381.0" transform="scale(0.1)" x="250.5" y="140">Python</text><text fill="#010101" fill-opacity=".3" lengthAdjust="spacing" textLength="1021.0" transform="scale(0.1)" x="1031.5" y="150">3.7 | 3.8 | 3.9</text><text lengthAdjust="spacing" textLength="1021.0" transform="scale(0.1)" x="1031.5" y="140">3.6 | 3.7 | 3.8 | 3.9</text></g></svg>
<svg height="20" width="160.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="smooth" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="round"><rect fill="#fff" height="20" rx="3" width="160.2"/></clipPath><g clip-path="url(#round)"><rect fill="#555" height="20" width="48.1"/><rect fill="#007ec6" height="20" width="112.1" x="48.1"/><rect fill="url(#smooth)" height="20" width="160.2"/></g><g fill="#fff" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110" text-anchor="middle"><text fill="#010101" fill-opacity=".3" lengthAdjust="spacing" textLength="381.0" transform="scale(0.1)" x="250.5" y="150">Python</text><text lengthAdjust="spacing" textLength="381.0" transform="scale(0.1)" x="250.5" y="140">Python</text><text fill="#010101" fill-opacity=".3" lengthAdjust="spacing" textLength="1021.0" transform="scale(0.1)" x="1031.5" y="150">3.7 | 3.8 | 3.9</text><text lengthAdjust="spacing" textLength="1021.0" transform="scale(0.1)" x="1031.5" y="140">3.7 | 3.8 | 3.9</text></g></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB