(Solved)Unable to launch C:\Miniconda3\Lib\site-packages\pyqt5_tools\bin\uic.exe


When I use Qt Designer, I want to view the corresponding python or c code(Form > View Code). However, the installed qt-designer cannot find uic module. I found the uic moudle(uic.exe) located in

C:\Miniconda3\Lib\site-packages\pyqt5_tools\uic.exe

and the pyuic5 executable (pyuic5.exe) located at

C:\Miniconda3\Scripts\pyuic5.exe

In windows, we cannot create hard link, so I installed Hard Link Shell. Then I hard-linked those excutables to the path qt-designer used. Finally, it works like a charm.

发表评论

电子邮件地址不会被公开。 必填项已用*标注