QT designer installation and use

 In the PyQt editing interface, you can use the visualization tool Qt Designer to complete it. By dragging the control and editing the value, you can directly see the effect.

Installation of QT designer

First way:

If you have pycharm installed, you can install it directly in the settings.

Page location: File > Settings > Project > Project Interpreter 

Click "+", search for PyQt5, PyQt5-tools and install PyQt5 and QT toolkit.

Second way:

Install using pip command

Install PyQt5: pip install PyQt5 -i https://pypi.douban.com/simple

Install Qt toolkit: pip install PyQt5-tools -i https://pypi.douban.com/simple

Starting QT designer

After the installation is complete, check the installation location of QT designer’s startup file:

(Python installation path)\Lib\site-packages\qt5_applications\Qt\bin

There is a designer.exe file in the path. Double-click the file to start QT designer.

After the installation is complete, you can configure the entrance to open the designer in pycharm. Specific steps:

PyQt5 tool configuration in PyCharm_Bad poet_Ww's blog-CSDN blog_pyqt5 pyrcc5


 The public account of the same name as the blog I run [ Essential Skills for Software Testing ] will upload testing-related information from time to time. You can go and get it if necessary.

Insert image description here

If
necessary, please click on the QR code below the article to get it~

Insert image description here

Guess you like

Origin blog.csdn.net/weixin_40883833/article/details/126333030