diegogarciahuerta / tk-blender

:milk_glass: Shotgun Toolkit Engine for Blender: https://www.blender.org/
Other
44 stars 33 forks source link

Cann't go with blender 3.2 #12

Open jackiezxt opened 2 years ago

jackiezxt commented 2 years ago

Describe the bug Cann't go with blender 3.2

To Reproduce Steps to reproduce the behavior:

  1. change my config as in the documents
  2. open blender3.2
  3. the shotgun menu displayed, but it doesn't have sub-menu
  4. I open the console, and found the message here " "
    self.show_message(msg, level="info")
    File "C:\Users\zhongxingtian\AppData\Roaming\Shotgun\bundle_cache\git\tk-blender.git\v1.1.1\engine.py", line 239, in show_message
    from sgtk.platform.qt import QtGui, QtCore
    ImportError: cannot import name 'QtGui' from 'tank.platform.qt' (C:\Users/xxxx/AppData/Roaming/Shotgun/ldtc/p122c199.basic.desktop/cfg/install/core/python\tank\platform\qt\__init__.py)

Desktop (please complete the following information):

andreasmalta1 commented 2 years ago

I used the try except method to go around this part and it worked. QtGui cannot be loaded in the moment that this piece of code runs