From ac2fbbf791677baa08fd4e9a8af558233c764ad4 Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Fri, 1 Jul 2022 09:24:57 +0200 Subject: [PATCH] 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 --- conanfile.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conanfile.py b/conanfile.py index 5326d612be..067d1a231b 100644 --- a/conanfile.py +++ b/conanfile.py @@ -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())