Qt World Summit: Submit your Presentation

QSpalshScreen Scale Properties ?

  • I have to Scale the Splash Screen for different Resolution can any one help me

  • The QSplashScreen takes in a QPixmap. You can scale the pixmap to whatever resolution you want first and then assign to splash screen. Just tried and works fine ...

    QPixmap pixmap("c:/design.jpg");
    QSplashScreen splash(pixmap.scaled(1000,1000));
    // the orig pixmap was 640x360 and shows up in that size if I don't scale

Log in to reply