Results 1 to 2 of 2

Thread: QImage* to QImage

  1. #1
    Join Date
    May 2011
    Location
    Indonesia, Surabaya
    Posts
    24
    Thanks
    14
    Qt products
    Qt4
    Platforms
    Windows

    Default QImage* to QImage

    Hi all!

    i'm trying to implement my sendimage library and sendimage function to my project, but i've got some errors.

    First of all, my sendimage library uses a non scalar QImage variable (QImage image). but I need to use a scalar QImage variable (QImage *image) to convert from IplImage data structure to QImage data structure.

    How can i convert from a scalar QImage to a non - scalar QImage variable so that i can use my sendimage library ?

    Any advice ? Thank you.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QImage* to QImage

    dereference it?

    QImage image = *image2;

  3. The following user says thank you to squidge for this useful post:

    bajoelkid12 (19th June 2011)

Similar Threads

  1. Replies: 5
    Last Post: 16th May 2011, 21:15
  2. QImage
    By Maluko_Da_Tola in forum Newbie
    Replies: 1
    Last Post: 31st July 2010, 06:28
  3. QImage and Qt 4.5.3
    By halmassi in forum Newbie
    Replies: 26
    Last Post: 10th March 2010, 21:49
  4. 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
  5. Replies: 3
    Last Post: 15th March 2006, 11:44

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.