QByteArray data;
QString str = QCoreApplication::applicationDirPath();
QString jsonPath=str+"";
QFile file(jsonPath);
file.open(QIODevice::ReadOnly| QIODevice::Text);
QByteArray t = file.readAll();
JSON转Array
最新推荐文章于 2023-12-21 14:55:47 发布
QByteArray data;
QString str = QCoreApplication::applicationDirPath();
QString jsonPath=str+"";
QFile file(jsonPath);
file.open(QIODevice::ReadOnly| QIODevice::Text);
QByteArray t = file.readAll();