![]() ![]() The scripts used in this document are now also posted on Github.ĭownload SIP and PyQt source from ' ' - here I downloaded 'sip- 4.19.3' and 'PyQt5_gpl-5.9'. Make sure to read the instructions to install the devkit, include and mkspecs folders properly on your system. ![]() Download the devkit and unzip the files into your Maya root folder. You can get the Maya 2018 devkit from the Autodesk App Store here for Windows, OSX, and Linux. Important: Maya 2018 now ships without the devkit, include and mkspecs folders. Note as well that there is a 'MAYA_LOCATION/support/opensource' folder now which contains some of the community source. Libxml, openSSL, OpenAL, python2.7, qt-5.6.1, and tbb are also coming by default in the Maya include and lib folders, so unless you have a very specific need, you would not need to rebuild any of those libraries like before. However, be aware that with Maya 2018, there is no more need to build PySide as it is coming by default in Maya, nor you have to rebuild Qt itself as the main Qt tools to build PyQt are now included in the Maya distributions (I.e. A copy of the customized Qt 5.6.1 source is available from Autodesk's Open Source web-site () and includes text files describing how to configure, build and install Qt for each platform supported by Maya. Note that it’s important to use the Maya modified version of the Qt source code. Maya 2018 uses Qt5.6.1 which is binary compatible with the latest version of PyQt – 5.9 / SIP - 4.19.2 The following are instructions for building a copy of the PyQt modules that have been known to work with Maya. Please consult the PyQt website for information about licensing for PyQt. PyQt does not have the same licensing as Maya, Qt, or Python. Because Maya uses Qt internally, you can use the PyQt modules in Maya python scripts to create custom UI. Updated by Chengxi Li - Autodesk Developer Network (August 2018)īuilding SIP, and PyQt for Maya 2018 PyQt is a python binding to the Qt library. ![]() Written by Cyrille Fauvel – Autodesk Developer Network (April 2013)
0 Comments
Leave a Reply. |