i have compiled the cource of this Qt example project Qt_HTTP
after adding
QScreen *screen = QGuiApplication::primaryScreen(); QRect availableSize = scree