I have Qt installed in 2 computers. One with Linux and the other with Windows.

I am taking screenshots of the desktop and in both computers it works fine. When I run my program in another computer, without any Qt installation, the program works, but the screenshot is always empty.

I have attached some libraries to my program, therefore it is able to run in this new computer.

Is there any .dll or something that I need to give together with my program, so the screenshots will work ?