Update mkspecs/common/nf in the mkspecs, enable shell and add COM libraries to build config. Rename include\qtnfc to qtnfc.disabled.Ĩ. Unzip the Qt include files into the include directory directly. Download devkit, unzip the mkspec in the mkspec folder directly into its directory. install PyQt-builder and PyQt5-sip with pip mayapy -m pip install PyQt-builderħ. Once you've copied the libarary, please duplicate one and name it as python3.lib.ĥ. You'll need to create the destination folder. Copy lib\python310.lib inside Maya2024 installation to Python\libs. You'll need to create the destination folder.Ĥ. Copy include\Python310\Python inside Maya2024 installation to Python\include. set path=%path% v:\bin v:\Python\Scriptsģ. If your've created a subst drive, please use the path with drive. Add your Maya2024\Python\scripts and Maya2024\bin to your system path. subst v: "C:\Program files\Autodesk\maya2024"Ģ. Subst your maya install folder to a dedicate drive if there is a space inside your maya installation path. Please update it with the paths on your computer. I've installed my Maya 2024 to default location and I've extracted devkit to g:\case\devkitBase\2024. If you've installed a path needs Administrator Privileges, please run 圆4 Native Tools Command Prompt for VS 2022 as Administrator. We are going to build it with VS2022 which is same as Maya 2024's developing environment on Windows. If you find any problems with it, you can build your own with this guide. I didn't encounter any problems during my testing with the original pip packages. You may want to replace them with the ones shipped with Maya. However, it has its own Qt5 libraries installed and it may lead to problems. On windows, pip installed packages could work. Although pip is shipped with Maya 2024, we still can't use it to install PyQt5 on Mac or Linux. Maya 2024 is shipped with Python 3.10 only on all platforms.
0 Comments
Leave a Reply. |