printf ("User: %s\n", str.toAscii().data()); QString 轉換const char *,就使用toAscii()或toLatin1()。 這些函數回傳一個QByteArray,它能被轉換為 ...
確定! 回上一頁