QString转wchar_t.md 218 B

#qt

路径转换,代码参考:

    QString tool = "G:/DownLoad/miniblink-20231115/release/front_end/inspector.html";
    std::wstring wstr = tool.toStdWString();
    const wchar_t* wc = wstr.c_str();