Skip to content

Mac dependencies

Hannes Delbeke edited this page Sep 28, 2023 · 2 revisions

User install notes

  • Download the Blender PIP addon (download ZIP) (don't unzip, mac might automatically unzip)
  • install the Blender PIP addon in Blender, (official installing add-ons docs)
    • Open the Blender preferences window
    • go to the add-ons tab
    • click install button, and browse to the ZIP (note that mac might auto unwrap the ZIP on download, in that case rezip it)
    • Refresh add-ons, and search in the addon tab for Development: Python Module Manager
  • Use it to install the PyPI module iterm2 and PyObjC in your Blender Python environment.
  • restart Blender.

Dev notes

  • PyObjC installs Appkit correctly, don't install Appkit directly!

TODO

  • double check iterm2 is still needed
  • automate dependencies on bqt pip install

Note that wrappping the main Blender window in a QWindow, freezes Blender. As a workaround, we use the non wrap mode from BQT. This means QWidgets currently always stay on top. since I havent yet figured out how to get window ID on Mac

The main thing needed now is a Mac dev.

  • If you know how to hookup the windows ID to prevent the window always on top. that be amazing. This is probably a quick win. Window ID hookup code is already there for windows.
  • If you can figure out why the main blender window freezes on QWindow wrap, that be great. this is likely more complex. assume might have to introduce a update loop or something.