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.
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.