vishal.chauhan
19th February 2007, 10:15
Hi All,
I m using Qt 4.2.2 on my Intel Mac.
I want to convert QString to const uint8 *.
In Qt3 I m using
(const UInt8*)cCompletePath.utf8()
to convert this.
But how to do this in Qt 4.2.2 ?
I m using
(const UInt8*)cCompletePath.utf16()
to Do this but this is converting into 16 bit unicode but I need it in 8 bit unicode.
If anyone knows then plz help me.
Thanks.
I m using Qt 4.2.2 on my Intel Mac.
I want to convert QString to const uint8 *.
In Qt3 I m using
(const UInt8*)cCompletePath.utf8()
to convert this.
But how to do this in Qt 4.2.2 ?
I m using
(const UInt8*)cCompletePath.utf16()
to Do this but this is converting into 16 bit unicode but I need it in 8 bit unicode.
If anyone knows then plz help me.
Thanks.