PyQt5 - HOW to run the constructor

The feeling is really stupid right now, but the title says it all:

How to start QtDesigner?

I installed PyQt5through pip, and I believe that it identified the directory in which it was installed as

C:\Users\%username%\AppData\Local\Programs\Python\Python36\Lib\site-packages\PyQt5

Now what? There are a lot of .pyd files, some .dlls too, but nothing executable (well, except QtWebEngineProcess.exein ...\site-packages\PyQt5\Qt\bin, but that doesn't look like what I'm looking for.

+20
source share
6 answers

PyQt5 ( pip) , , . PyQt 5.7 . PyQt 5.6 Windows, dev, sourceforge. PyQt - - , .

- pyqt5-tools ( Windows). , , PyQt5. , pip. , zip, . designer.exe pyqt5-tools/designer.

, , zip tar.gz sourceforge PyQt5. , , PyQt5. : Qt dev. , Qt ( ).

+12

Qt , pip.

sourceforge (, pyqt , ) () pypi - pyqt5-tools ( pip install pyqt5-tools), python -

...\Python36\Lib\site-packages\pyqt5-tools\designer\designer.exe
+16

. pyqt5-tools , Qt Designer. 40 . , !

+9

Qt Designer :

  1. Qt ( 5.8) Qt
  2. , "Qt 5.8 MinGW"
  3. Qt Designer C:\Qt\5.8\mingw53_32\bin\designer.exe
  4. , "designer.exe"
+1
source

Try using:

pip install pyqt5-tools

Now you will find a designer at site-packages/pyqt5-tools.

0
source
pip install pyqt5-tools

Then restart cmd, just type "designer" and press Enter.

0
source

Source: https://habr.com/ru/post/1666088/


All Articles