qString转char*

    char *vi_name = new char[vi_rsc_name.length()];
    strcpy(vi_name,vi_rsc_name.toStdString().data());

    delete[] vi_name;
posted @ 2017-04-17 19:13  mr-xbt  阅读(179)  评论(0编辑  收藏  举报