Hello! There is an application on qt, I would like to show a picture (logo and name) at startup for a few seconds. How to make this picture fit to the screen size?

    1 answer 1

    To get the screen size, try using QDesktopWidget :

     QRect rect = QApplication::desktop()->screenGeometry(); int h = rect.height(); int w = rect.width();