import PyQt5.QtCore from frame.app import App PyQt5.QtCore.QCoreApplication.setAttribute(PyQt5.QtCore.Qt.AA_EnableHighDpiScaling) app =App() app.exec()