Unable to start the solution and reason for Maya integrated QT designer and switch between Chinese and English
Objective:
Maya integrates pyside with QT Designer and can find Designer.exe in the bin folder in Maya's installation directory.
Operation Designer.exe Error resolution method and Reason
When we run Designer.exe in Maya alone, we get an error: This application failed to start because it could net find or load the Qt platform PL Ugin "Windows" in "" reinstalling the application could fix this problem.
Found on the Internet, there are several ways to solve the problem:
1. Add the WIN environment variable Maya_location:e:\program files\autodesk\maya2017 (here to your own MAYA installation directory) (this method is not recommended) 2. Ways to use. bat
Now that we can do this in the 1th way, we can set the environment variable in bat and then run Designer.exe, where the environment variable in bat only exists in that session:
Set Maya_location=e:\program files\autodesk\maya2017
Start "" "%maya_location%\bin\\designer.exe"
3. Modify the Qt.config file
In the Bin folder of the Maya installation directory, locate qt.conf. Open with Notepad:
[Paths]
prefix=$ (maya_location)
Libraries=lib
Binaries=bin
Headers=include
Data=.
Plugins=qt-plugins
Translations=qt-translations
Qml2imports=qml
Modify prefix=$ (maya_location) to Prefix=e:\\program files\\autodesk\\maya2017 (Here The path is noted with \ \).
Translations=qt-translations is a change of language, next.
Using this method, we can send Designer.exe to the desktop shortcut key.
switching between China and Britain
When we successfully launched the Designer.exe, we found that we searched the menu bar, and did not find the language setting, in the following way:
Modify the translations=qt-translations in qt.conf to translations=qt-translations\\designer_en.qm The Chinese language interface can be changed to English.
Conclusion:
However, Maya does not have an integrated QT language home Linguist.exe, so it is best to install Python and then use PIP to install Pyside (python2.x) or PySide2 (python3.x)
Unable to start the solution and reason for Maya integrated QT designer and switch between Chinese and English