I've found this article. But lets say I have three monitors, how can I distinguish between them? Can I get the screen name (e.g. Samsung) somewhere?
Asked
Active
Viewed 1,502 times
2 Answers
3
From what I know, Qt only provides functionality to determine how many screens are available, what the index of the primary screen is, and what the geometry for a particular screen is.
Assuming you're working under Windows:
You could try to see if the IDs assigned, match those that the OS assigns in your multi-monitor configuration. If you want to go more low level than that, you might want to have a look at this thread instead.
1
Qt5 has QGuiApplication::screens(i)
with QScreen::name()
and (from 5.9 on) even ::model()
.

Martin Hennings
- 16,418
- 9
- 48
- 68