From Pyqt6 Qtwidgets Import Qapplication, QtWidgets module.