From 706f2174d2993c7da2e296252edf136f1c60a756 Mon Sep 17 00:00:00 2001 From: Kenan Muric Date: Tue, 4 Oct 2022 10:24:59 +0200 Subject: [PATCH] updating nexus-constructor.spec --- nexus-constructor.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nexus-constructor.spec b/nexus-constructor.spec index 956662db4..4fb0ec5f4 100644 --- a/nexus-constructor.spec +++ b/nexus-constructor.spec @@ -1,5 +1,5 @@ # -*- mode: python ; coding: utf-8 -*- -import PySide2 +import PySide6 import os block_cipher = None @@ -10,10 +10,10 @@ added_files = [ ("definitions/base_classes/*.nxdl.xml", "definitions/base_classes"), ] -if os.path.isdir(os.path.join(PySide2.__path__[0], "Qt", "plugins", "renderers")): +if os.path.isdir(os.path.join(PySide6.__path__[0], "Qt", "plugins", "renderers")): added_files.append(( - os.path.join(PySide2.__path__[0], "Qt", "plugins", "renderers"), - "PySide2/Qt/plugins/renderers", + os.path.join(PySide6.__path__[0], "Qt", "plugins", "renderers"), + "PySide6/Qt/plugins/renderers", )) # Be careful about removing things from this list. @@ -58,7 +58,7 @@ a = Analysis( pathex=["/home/matt/git/nexus-constructor"], binaries=[], datas=added_files, - hiddenimports=["PySide2.QtXml"], + hiddenimports=["PySide6.QtXml"], hookspath=[], runtime_hooks=[], excludes=exclude,