Results 1 to 4 of 4

Thread: Problem with displaying a QPixmap on a QImage

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2010
    Posts
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Problem with displaying a QPixmap on a QImage

    When you say "defined in the header-file", do you mean it is declared? Is it initialized as well?

    I am guessing img_greyscale has not been initialized (new QLabel) ?

  2. The following user says thank you to koder for this useful post:

    moatilliatta (8th September 2010)

  3. #2
    Join Date
    Sep 2010
    Location
    Germany
    Posts
    7
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem with displaying a QPixmap on a QImage

    Damn, thank you very much!
    I just didn't initialized the QLabel. Stupid me..

    Thread can be closed.

Similar Threads

  1. Displaying a QImage on the screen
    By nuser in forum Qt Programming
    Replies: 1
    Last Post: 9th April 2010, 20:51
  2. Replies: 16
    Last Post: 29th March 2010, 07:05
  3. QImage displaying through OpenGL
    By strateng in forum Newbie
    Replies: 0
    Last Post: 23rd March 2010, 04:35
  4. DIB to QImage or QPixmap
    By ^NyAw^ in forum Qt Programming
    Replies: 0
    Last Post: 8th August 2008, 20:18
  5. What's faster: QPixmap-to-QImage or QImage-to-QPixmap
    By forrestfsu in forum Qt Programming
    Replies: 2
    Last Post: 15th December 2006, 17:11

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.