Jul-15-2017, 05:42 PM
Hi
I am experiencing an issue regarding to convert an .ui file to .py.
I am running QT Designer 3.6 with PyQt5. I have tried the below commands for converting but I still cannot get it right.
C:\Python35\Lib\site-packages\PyQt5>pyuic5 -o FirstApp.py FirstApp.ui
C:\Python35\Lib\site-packages\PyQt5>pyuic5 -o FirstApp.ui FirstApp.py
C:\Python35\Lib\site-packages\PyQt5>pyuic5 -x FirstApp.ui -o FirstApp.py
C:\Python35\Lib\site-packages\PyQt5>pyuic5.bat -x FirstApp.ui -o FirstApp.py
C:\Python35\Lib\site-packages\PyQt5>pyuic5.bat --execute FirstApp.ui -o FirstApp.py
C:\Python35\Lib\site-packages\PyQt5>pyuic5.bat --execute FirstApp.ui --output FirstApp.py
When I check in the folder PyQt5, there is only .ui file and the .py is not created. Can someone please help with this issue.
Kind regards
Mpho
I am experiencing an issue regarding to convert an .ui file to .py.
I am running QT Designer 3.6 with PyQt5. I have tried the below commands for converting but I still cannot get it right.
C:\Python35\Lib\site-packages\PyQt5>pyuic5 -o FirstApp.py FirstApp.ui
C:\Python35\Lib\site-packages\PyQt5>pyuic5 -o FirstApp.ui FirstApp.py
C:\Python35\Lib\site-packages\PyQt5>pyuic5 -x FirstApp.ui -o FirstApp.py
C:\Python35\Lib\site-packages\PyQt5>pyuic5.bat -x FirstApp.ui -o FirstApp.py
C:\Python35\Lib\site-packages\PyQt5>pyuic5.bat --execute FirstApp.ui -o FirstApp.py
C:\Python35\Lib\site-packages\PyQt5>pyuic5.bat --execute FirstApp.ui --output FirstApp.py
When I check in the folder PyQt5, there is only .ui file and the .py is not created. Can someone please help with this issue.
Kind regards
Mpho