i am writing a screen capture application in Qt4 with c++. I have a problem when tuning on dual screens. I am unable to get an image with the second screen. I tried a c# applica
I recently noticed the same issue.
I eventually decided to drop Qt for taking screenshots. Another situation in whic Qt breaks is when using the Aero theme of Windows Vista or Windows 7. This theme apparently renders all data into a background buffer, so all screenshots taken by Qt are all black.
Instead of using Qt I can recommend using the ScreenShooter class as described at http://www.apriorit.com/our-experience/articles/9-sd-articles/193-multi-monitor-screenshot