Hi all,

I have a QDialog derived class and in the constructor i load pixmap onto a QLabel
Qt Code:
  1. QPixmap lqpm;
  2. sLcgsDir.sprintf("%s\\UI\\Images",getenv("IGTS_DATA_FOLDER_PATH"));
  3. lqpm.load(sLcgsDir+"\\welcome_IGTS.jpg");
  4. mainPixmapLabel->setPixmap(lqpm);
To copy to clipboard, switch view to plain text mode 

this dialog is the mainwidget of the application , and when i close it to exit the application i get into an assertion in dbgDel.cpp on this line

Qt Code:
  1. _ASSERTE(_BLOCK_TYPE_IS_VALID(pHead->nBlockUse));
To copy to clipboard, switch view to plain text mode 

if i comment the load , or load an empty Pixmap the assertion does not happen.

Can you please assist?

I use QT 3.3.5 On WinXP

Thanks
Yariv