Equilibrium
11th October 2007, 16:31
Hi all,
I have a QDialog derived class and in the constructor i load pixmap onto a QLabel
QPixmap lqpm;
sLcgsDir.sprintf("%s\\UI\\Images",getenv("IGTS_DATA_FOLDER_PATH"));
lqpm.load(sLcgsDir+"\\welcome_IGTS.jpg");
mainPixmapLabel->setPixmap(lqpm);
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
_ASSERTE(_BLOCK_TYPE_IS_VALID(pHead->nBlockUse));
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
I have a QDialog derived class and in the constructor i load pixmap onto a QLabel
QPixmap lqpm;
sLcgsDir.sprintf("%s\\UI\\Images",getenv("IGTS_DATA_FOLDER_PATH"));
lqpm.load(sLcgsDir+"\\welcome_IGTS.jpg");
mainPixmapLabel->setPixmap(lqpm);
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
_ASSERTE(_BLOCK_TYPE_IS_VALID(pHead->nBlockUse));
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