Screens Info

  • Good morning,
    i would ask you an advice about the screen management in Screen and in QGuiApplication.
    I have two screens (one of the laptop and one which is linked to the laptop) and when I scan the screens status I obtain the following situation:

    • Monitor 1 is the laptop one, with the right property.

    • Monitor 2 is the sum of laptop monitor and the second one, so I can't obtain the right property of the second monitor.

    I know that I just remove the first screen from the second one to obtain the right proportion, but what happens when the monitors number increase?
    Is there a way to obtain the informations of each monitor?


  • Lifetime Qt Champion


    What version of Qt ?
    On what platform ?

  • Hi @SGaist,
    at this moment I'm working with 5.9 version and I need to develop both on Windows both on Unix.


  • Lifetime Qt Champion

    Do you have that error on both platforms ?

    By the way, can post a minimal sample code that shows this behaviour ?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.