Home  >  Article  >  Backend Development  >  Solve the problem that QT5 Designer cannot be opened under python

Solve the problem that QT5 Designer cannot be opened under python

coldplay.xixi
coldplay.xixiforward
2020-08-20 16:11:033067browse

Solve the problem that QT5 Designer cannot be opened under python

designer.exe cannot open the background

python 3.8 Follow pip install pyqt5 and pip install pyqt5-tools to complete the installation After that, enter the ..\Python\Lib\site-packages\pyqt5_tools\Qt\bin
directory and open designer.exe. The error is as follows:

Solution

Place the two dll files in the following directory...\Python\Lib\site-packages\pyqt5_tools\Qt\plugins\platforms

Copy to...\Python\Lib\site-packages\pyqt5_tools\Qt\bin\platforms directory, and you can open designer.exe normally

PS: Let’s take a look at the problem that Qt-Designer cannot be opened

After installing Qt, double-clicking the Designer on the desktop does not respond. The solution is to change qwebengineview.dll in the installation path. Add ".bak" to the file suffix.

Related learning recommendations: python tutorial

The above is the detailed content of Solve the problem that QT5 Designer cannot be opened under python. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete