I encounted compile phase problem.
The following code can be not compliled.
Is this C++ specification? Or, Qt specification?
Qt Code:
/*use automatic variable for QPixmap instance*/ p.loadFromData();//N.G. complile error. /*use new operator for QPixmap instance.*/ p->loadFromData();//OK.To copy to clipboard, switch view to plain text mode
Bookmarks