Answers for "how to download pyqt5"

1

how to install pyqt5 on windows

pip install PyQt5
pip install pyqt-tools

# if PyQt5 Designer not installed 
pip install PyQt5Designer
Posted by: Guest on December-10-2021
3

Python PyQt5

# pip install PyQt5==5.15.2
from PyQt5.QtWidgets import QApplication,QMainWindow,QLabel
import sys
app=QApplication(sys.argv)
app.setStyle('Fusion')
app.setApplicationName('PyQt5 App')
win=QMainWindow()
label=QLabel()
label.setText('An App')
win.setCentralWidget(label)
win.show()
sys.exit(app.exec_())
Posted by: Guest on March-05-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language