'PyQt QSplashScreen Image Resolution
I have a QSplashScreen with an image.The image looks fine when I open it. But When I run the splash, the picture has become full screen and blurred. I think it should be because the resolution of the picture is too high, but I don't know what to do.By the way, it's pyqt6. MacBook Pro 14(3024 × 1964)

if __name__ == '__main__':
app = QApplication(sys. argv)
qp = QPixmap("./ICON/cover.png")
splash = QSplashScreen(QPixmap(qp))
splash.show()
app.processEvents()
myMainWindow = QMainWindow()
myUi = Main_Window.Ui_MainWindow()
myUi.setupUi(myMainWindow)
splash.finish(myMainWindow)
myMainWindow.show()
sys. exit(app.exec())
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
