Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. PyQt3D and Pyinstaller
Qt 6.11 is out! See what's new in the release blog

PyQt3D and Pyinstaller

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 1 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    XenoneX
    wrote on last edited by
    #1

    Hello to everybody!

    I'm trying to build my application to .exe with PyInstaller, but it seems, that PyQt3D module doesn't imports PyQt3D module.
    It is impossible to build application with Qt3D with PyInstaller, or I need some extra configuration for this? I tried to add PyQt3D module in hidden-imports, but still have an error:

    Traceback (most recent call last):
      File "***\main.py", line 1, in <module>
        from PyQt5 import QtWidgets, Qt3DCore, Qt3DExtras, Qt3DRender, QtGui, QtCore
    ModuleNotFoundError: No module named 'PyQt5.Qt3DInput'
    [13512] Failed to execute script main
    

    Thank you for your reply.

    1 Reply Last reply
    0
    • X Offline
      X Offline
      XenoneX
      wrote on last edited by XenoneX
      #2

      @xenonex said in PyQt3D and Pyinstaller:

      PyQt5.Qt3DInput

      Very sorry, but it seems, that I just needed to pass --hidden-import PyQt5.Qt3DInput to PyInstaller.
      But still, I've got this:

      Qt3D.Renderer.Jobs: unsupported format encountered (stl)
      

      When I'm running my application in PyCharm everething is OK.
      Maybe anyone can help with this?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved