2017年5月18日 星期四

[Python] How to use pyqt5

Install qt package. This will install all package about qt5.
sudo pacman -S qt

Using designer to design py UI
/usr/bin/designer

Using pyuic5 to convert UI to python code
pyuic5 main.ui -o main.py

Install pyqt5 library package, so when execute python code will show UI properly.
sudo pacman -S python-pyqt5

0 意見:

張貼留言