I have try to use bitBlt but it seems failed. the "buffer" is null. Is there any problem with the code?

Qt Code:
  1. QImage hehe("f_rain1m_e5bff66.jpg" );
  2. QImage buffer;
  3. bitBlt(&buffer, 4, 5 , &hehe, lstBox->x(), lstBox->y(), lstBox->width(), lstBox->height(), CopyROP);
  4. lstBox->setPaletteBackgroundPixmap(buffer);
  5. qWarning("%d",buffer.isNull());
To copy to clipboard, switch view to plain text mode 

NB:
The result in terminal is 1 which mean the buffer is still null, right?