Unable to start the solution and reason for Maya integrated QT designer and switch between Chinese and English

Source: Internet
Author: User
Tags qt designer

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.