marcelotduarte/cx_Freeze

PyQt6 import error in cx_Freeze 7.1, missing DLL

VegarS opened this issue · 1 comments

Freezing with cx_Freeze 7.1 causes an import error in PyQt6 scripts. It can be reproduced with the PyQt6 sample files:
image

The issue is also present in 7.2.0dev2, but everything seems to work with 7.0.0.

To Reproduce

  • Run setup.py in cx_Freeze/samples/pyqt6: py -3.11 setup.py build
  • Run resulting exe file in build/exe.win-amd64-3.11

Desktop:

  • Platform information: Windows 11
  • OS architecture: amd64
  • cx_Freeze version: 7.1 and 7.2.0dev2
  • Python version: 3.11