Just use QString::toUtf8(), e.g. fprintf(stderr, "profilePath: %s\n", profilePath.toUtf8());. You shouldn't use printf as it is mostly used ...
確定! 回上一頁