4/4/2023 0 Comments 5 maya 2022 den nedeli![]() ![]() As I am writing this guide, there will be warning when using Xcode 12 to build and install PyQt5. If you are going to install it on MacOSX Catalina, please install the latest Xcode 11. If you don't want debug output, please remove the -verbose flag in the end. I am using a 5950x which has 32 logical processors so the jobs is 32 here. The jobs count shouldn't be more than the count of your logical processors. sip-install -jobs 32 -no-designer-plugin -spec g:\case\devkitBase\2022\mkspecs\win32-msvc -qmake g:\case\devkitBase\2022\devkit\bin\qmake.exe -verbose Please update the devkit path with the one on your computer. Update mkspecs/common/nf in the mkspecs, enable shell and add COM libraries to build config. Unzip the Qt include files into the include directory directly. Install PyQt-builder and PyQt5-sip with pip mayapy -m pip install PyQt-builderĭownload devkit, unzip the mkspec in the mkspec folder directly into its directory. Use mayapy to install packaging and toml. Once you've copied the libarary, please duplicate one and name it as python3.lib. You'll need to create the destination folder. set path=%path% v:\bin v:\Python37\ScriptsĬopy include\Python37\Python inside Maya2022 installation as Python37\include.Ĭopy lib\python37.lib inside Maya2022 installation to Python37\libs. ![]() If your've created a subst drive, please use the path with drive. subst v: "c:\program files\autodesk\maya2022"Īdd your maya2022\Python37\scripts and maya2022\bin to your system path. 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 2022 to default location and I've extracted devkit to g:\case\devkitBase\2022. If you've installed a path needs Administrator Privileges, please run 圆4 Native Tools Command Prompt for VS 2019 as Administrator. ![]() We are going to build it with VS2019 which is same as Maya 2022's developing environment on Windows. You can get them from Riverbank computing's website. For Windows and Mac, we'll still need to build it manually. This guide will only cover how to build and install PyQt5 for Maya 2022 with Python 3.Īlthough pip is shipped with Maya 2022, we can use it to install PyQt5 on Linux only. Since Python 2 is no longer supported by the Python community, we encourge you to update to Python 3. Maya 2022 is shipped with Python 3.7 and Python 2.7 on Windows/Linux. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |