PDA

View Full Version : QGraphicsView's scene pixmap can't be shown up in win xp



DmitryNik
29th September 2011, 10:33
Hello!

I have a small problem with adding the pixmap into the scene. When I start my program in windows 7 I can add new pixmap into the scene and see it. But when I try to do the same thing in windows xp I don't see any pics in the scene at all. I tried to use this->scene->update() and this->view->update. But result is still the same.


QPixmap img("C:\\11111.jpg");
this->scene->addPixmap(img);


Where can be problem? Do I need to recompile the program in win Xp for correct working?

Thank you for answers beforehand.

DmitryNik
29th September 2011, 14:55
Case closed, guys!=) I recompile the entir project in Win XP and now it works. Plus I changed all libraries for the project. So, it was mostly my fault=))) Thanks for visiting that thread=)