Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Thu Apr 11, 2024 8:28 pm

Hi
I develope my project by pyside6 and i use auto-py-to-exe to convert my project to appliaction
every thing work fine in appliaction but when i want to create a word report nothing created
in nvscode when i run the code it work peoperly and create word document but it doesnt work in application
i would be thankfull if u guide me what should i do
regards

XxLonely
 
Posts: 21
Joined: Sat Mar 30, 2024 5:11 pm

Fri Apr 12, 2024 9:59 am

Hi,

If there are any exception when you run appliaction? And do you put the Spire.Doc.dll into your application? I don’t how to use pyside6 to convert py to exe. But if you using pyinstaller to pack, you need to set the following code: I think the pyside6 may be similar with pyinstaller.
Code: Select all
pyinstaller --add-binary D:\Python310\Lib\site-packages\spire\doc\lib\Spire.Doc.Base.dll:./spire/doc/lib --add-binary D:\Python310\Lib\site-packages\spire\doc\lib\libSkiaSharp.dll:./spire/doc/lib toPdf.py 


Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Fri Apr 12, 2024 12:37 pm

regards

XxLonely
 
Posts: 21
Joined: Sat Mar 30, 2024 5:11 pm

Return to Spire.Doc