QString to char* without converting
-
Hi,
as long as the internal structure does not change you can use the function utf16() for that. This is what you can call the win32 API *W functions with directly.
If you want to stay within Qt you can use the data() function that returns a QChar* pointer which essentially is also a wrapper for an UTF16 character.
-Michael.