Qt doesn't recognise second monitor
I have 2 screens connected.
My app detects 2 monitiors in extended mode of display.
int screenrecount = QApplication::screens().size();
qDebug() << "screens().size()" << screenrecount;
---> output = screens().size() = 2
But when I set mirror mode through display settings, I get count as screens().size() = 1
Why is it so that in extended mode it shows 2 screens and in mirror mode it is showing only 1 screen?
Doesn't mirror mode mean that exactly the same is shown on both displays? So, from system/application point of view there is no difference between one display and two in mirror mode.
Thank you for the reply.
I want to disable the second monitor which is the mirror mode. Is it not possible?
I can disable the second monitor in extended mode.
What do you mean by "disable the second monitor in extend mode" ?