Hi everybody,
I'm trying to fill a QCanvasPixmapArray with QCanvasPixmap but over a specific number of objets created (191 in ly case) the QCanvasPixmap are always null. I don't know why and it is blocking for me.
Here is my code :
for(int i =0; i<71; i++)
{
fn
= path
+ QString::number(i
) + ".png";
QCanvasPixmap* pCanPix = new QCanvasPixmap(fn);
Q_ASSERT( pCanPix );
if( pCanPix->isNull() )
qDebug("%s is null", fn);
fullpixes->setImage(i, pCanPix);
}
for(int i =0; i<71; i++)
{
static QString fn;
fn = path + QString::number(i) + ".png";
QCanvasPixmap* pCanPix = new QCanvasPixmap(fn);
Q_ASSERT( pCanPix );
if( pCanPix->isNull() )
qDebug("%s is null", fn);
fullpixes->setImage(i, pCanPix);
}
To copy to clipboard, switch view to plain text mode
Each image is 800x480 pixels.
Is there any limitation with the number of object reference it is possible to use ?
Thanks in advance
Bookmarks