Am 21.07.2020 um 18:58 schrieb Doogster:
My program uses both Qt and a C API that takes, as parameters, UTF-8
const char * strings.

Is this the correct way to convert a QString containing a UTF8 string
to that format?

qString.toUtf8().constData()
Wasn't this question already answered?
https://forum.qt.io/topic/117165/how-to-use-std-strcpy


Christian
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to