const char* const_str = "Hello World"; · QString q_str = const_c_str; · QByteArray ba1 = q_str.toUtf8(); char* c_str = ba1.data();.
確定! 回上一頁