Python IDE PYCHARM+PYQT5 Environment configuration

Source: Internet
Author: User

"Original link": http://www.cnblogs.com/atsats/p/6545547.html

1. Installing Python3.4

Run Python-3.4.4.msi, install prompts to complete the installation

NET Disk: Http://pan.baidu.com/s/1pLFGTOB

2. Installing the PYQT Library

Run Pyqt5-5.5-gpl-py3.4-qt5.5.0-x32.exe (for win XP)

NET Disk: http://pan.baidu.com/s/1gfqUI5t

Run Pyqt5-5.4-gpl-py3.4-qt5.4.0-x64.exe (for Win7 and above)

NET Disk: HTTP://PAN.BAIDU.COM/S/1DFPCSR3

3. Install the Python IDE pycharm

3.1 Running Pycharm-community-2016.3.exe

NET Disk: HTTP://PAN.BAIDU.COM/S/1I48LVS5

3.2 Run Pycharm software for extended tool configuration for easy PYQT interface design

3.4.5 Pycharm Interface Font configuration

3.2.2. Main Menu file, Settings, open the configuration window Settings

3.3.3. Extension tool Qtdesigner Configuration

Open Qtdesigner for. ui files for Design interface layout

Tool Settings

Program : C:\Python34\Lib\site-packages\PyQt5\designer.exe (find it in your own Python installation directory)

Parameters: $FileName $ (can be copied, or click the button "Insert macro ..." Choose the right macros)

working directory: $FileDir $ (can be copied, or click the button "Insert macro ..." Choose the right macros)

3.3.4. Extension tool Pyuid Configuration

Used to convert. ui files to. py files

Tool Setting

Program : C:\Python34\Lib\site-packages\PyQt5\pyuic5.bat (find it in your own Python installation directory)

Parameters: $FileName $-O $FileNameWithoutExtension $.py (can be copied, or click the button "Insert macro ..." Choose the right macros)

working directory: $FileDir $ (can be copied, or click the button "Insert macro ..." Choose the right macros)

3.3.5 How to use

Select the Qtdesginer. ui file and right-click the extension tool.

Python IDE PYCHARM+PYQT5 Environment configuration

Related Article

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.