Results 1 to 2 of 2

Thread: QGraphicsView's scene pixmap can't be shown up in win xp

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2011
    Posts
    45
    Thanks
    17
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Question QGraphicsView's scene pixmap can't be shown up in win xp

    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.
    Qt Code:
    1. QPixmap img("C:\\11111.jpg");
    2. this->scene->addPixmap(img);
    To copy to clipboard, switch view to plain text mode 

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

    Thank you for answers beforehand.
    Last edited by DmitryNik; 29th September 2011 at 11:41.

Similar Threads

  1. Replies: 4
    Last Post: 18th April 2011, 08:44
  2. Replies: 3
    Last Post: 16th April 2010, 07:56
  3. QGraphicsView + OpenGL -> Pixmap rendering issue
    By JoergRe in forum Qt Programming
    Replies: 2
    Last Post: 20th May 2008, 18:41
  4. Smooth pixmap transform in QGraphicsView problem
    By spud in forum Qt Programming
    Replies: 1
    Last Post: 24th October 2007, 16:47
  5. Showing Pixmap as a QListWidget Item
    By vishal.chauhan in forum Qt Programming
    Replies: 1
    Last Post: 1st February 2007, 12:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.