I search the forum but could not find an answer.
I've a weird probleme here, when i try to do :
QList<QImage> tab;
tab.
append(QImage("myImage.png"));
QList<QImage> tab;
tab.append(QImage("myImage.png"));
To copy to clipboard, switch view to plain text mode
it doesn't append a thing...when i debug step by step under VS2008, tab[0] data is 0x00000....
My image exist and is well load because if i do
QList<QImage> tab;
tab.append(temp);
QList<QImage> tab;
QImage temp("myImage.png");
tab.append(temp);
To copy to clipboard, switch view to plain text mode
temp data is well set to an adress, but after the append, tab[0] is set to 0x0000 .....
What i've done wrong? ^^"
EDIT: My bad, that was not an error -__- it was me who paint my image not as it was itnended to do (not in the good rect)....Sorry, can someone delete my post, i haven't found how to do it...
Bookmarks