Hi all, QImage::save() needs a const char* with the format string but I have this format in a QString, so I need to do the conversion. I've searched the class QString but I havent' found any method to do it. Anybody knows how to do it?
Thanks.
Hi all, QImage::save() needs a const char* with the format string but I have this format in a QString, so I need to do the conversion. I've searched the class QString but I havent' found any method to do it. Anybody knows how to do it?
Thanks.
toLocal8Bit().data()
SkripT (9th March 2006)
public members of QString class in Qt-3.3.4
const char * ascii () const
const char * latin1 () const
Bookmarks