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?
To get the screen size, try using QDesktopWidget :
QDesktopWidget
QRect rect = QApplication::desktop()->screenGeometry(); int h = rect.height(); int w = rect.width();
Source: https://ru.stackoverflow.com/questions/540422/More articles:-webkit-mask-image does not work in firefoxCaching images from a remote serverError in bash scriptI can’t get a response to the URL, although it comes through the browser without problemsRegular expression chooses instead of the listed letters, everythingHow to check observable for non-nullWhy didn’t @ font-face supplant previous font family declarations?Are there legal restrictions on the use of @ font-face?Assigning sub-domain to virtual machinesRandom mix arrayAll Articles