Collect all PyQt6-Qt6 dll's for Win and place them in the root

Quick fix, we should probably work with hooks in the future

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-07-01 09:24:57 +02:00 committed by Jelle Spijker
parent b5e0ae8ff9
commit ac2fbbf791

View file

@ -176,6 +176,9 @@ class CuraConan(ConanFile):
binaries.extend([(f"{p}", ".") for p in Path(bin_paths).glob("**/*.dylib")])
binaries.extend([(f"{p}", ".") for p in Path(bin_paths).glob("**/*.so")])
# Collect all dll's from PyQt6 and place them in the root
binaries.extend([(f"{p}", ".") for p in Path(self._site_packages, "PyQt6", "Qt6").glob("**/*.dll")])
with open(Path(__file__).parent.joinpath("Ultimaker-Cura.spec.jinja"), "r") as f:
pyinstaller = Template(f.read())