You can use the QDesktopWidget
auto const rec = QApplication::desktop()->screenGeometry();
auto const height = rec.height();
auto const width = rec.width();
You can use the QDesktopWidget
auto const rec = QApplication::desktop()->screenGeometry();
auto const height = rec.height();
auto const width = rec.width();