Maya 2017 is moving to QT 5.6.1 and PySide2. PySide2 is currently still in alpha stage, so it's not as stable as it could be. We will continue to update it in our service packages. However, if you want to upgrade yourself, you can download and build it easily.
Maya 2017 is built with MSVC2012, so we cannot introduce other vc runtime in our build environment. So we will build QT 5.6.1 with MSVC2012 and the Python shipped with Maya.
It's a good idea to backup the Pyside2 files shipped with Maya before you are trying to replace them.
Here is a list:
Maya2017/bin/pyside2.dll Maya2017/bin/pyside2-uic Maya2017/bin/shiboken2.dll Maya2017/lib/pyside2.lib Maya2017/lib/shiboken2.lib Maya2017/Python/Lib/site-packages/shiboken2.pyd Maya2017/Python/Lib/site-packages/PySide2 Maya2017/Python/Lib/site-packages/pyside2uic
Let's begin to build PySide2 now. First, you'll need to download the source code of QT 5.6.1 and compile it with MSVC2012 64bit. You can find our modified QT package here and check the guide for building and installing customized QT 5.6.1 on windows.
Then you'll need to get the latest code from the PySide2 repo. For example:
git clone https://codereview.qt-project.org/pyside/pyside-setup --branch dev --recursive
After cloning the repo, we need to prepare for MayaPy. First, create a folder named Libs inside of Maya2017/Python folder then copy python27.lib from Maya2017/lib into it. Copy Maya2017/include/python2.7 into Maya2017/Python also. After that, we can build Pyside2 with following command in VS2012 x64 native tools :
mayapy.exe setup.py build --ignore-git --qmake=%QT5.6.1_MSVC2012_BuildPath%\qmake.exe --cmake="C:\Program Files (x86)\CMake\bin\cmake.exe" --jobs=9 --jom
We are using CMake 3.3.x here. JOM is a parallel build tool for QT, you can download it from QT's website or inside of QtCreator. Please make sure you've added JOM's path into your path environment variable.
It will take about 10 minutes to build Pyside2. Once it is done, go to pyside_install folder and replace the Maya2017\bin folder with the files inside the pyside_install\py2.7-qt5.6.1-64bit-release\bin folder;Maya2017\Python\lib\site-packages with pyside_install\py2.7-qt5.6.1-64bit-release\lib\site-packages and Maya2017\lib with the files in pyside_install\py2.7-qt5.6.1-64bit-release\lib.
Please make sure to backup the original file, as if there is any other issues caused by the replacement, you can use the original file to revert this workaround.