i have a problem with PyQt5 Designer. I install PyQt with -pip install PyQt5 and then -pip install PyQt5-tools everything OK. But when i try to run Designer it open messagebox with error: This application failed to start because no Qt platform plugin could be initialized? how to deal with it?
This will surely work.. Now you can use designer tool go and do some fun with python...
Try running it using command: pyqt5designer
It should set all the paths for libraries.
Works on Python 3.8, pyqt5-tool 5.15
I found a way of solving this:
Go to you python instalation folder Python38\Lib\site-packages\PyQt5\Qt\bin
Then copy all of that files to your clipboard and paste them at Python38\Lib\site-packages\pyqt5_tools\Qt\bin
Then open the designer.exe and it should work.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.