It returns "1" (same as on your monitor) I was a little bit astonished, because it returns floating point, but prints out a single "1", so I added a few lines to print out QWindow::devicePixelRatio(), but here again a single "1". Then I was reading the documentation and it seems that this "1" is correct.