![]() |
Qt 6.x
The Qt SDK
|
#include <qfile.h>
#include <qjsonarray.h>
#include <qjsondocument.h>
#include <qjsonobject.h>
#include <qhashfunctions.h>
#include <qstringlist.h>
#include <cstdlib>
Go to the source code of this file.
Functions | |
static bool | readFromDevice (QIODevice *device, QJsonArray *allMetaObjects) |
int | collectJson (const QStringList &jsonFiles, const QString &outputFile, bool skipStdIn) |
int collectJson | ( | const QStringList & | jsonFiles, |
const QString & | outputFile, | ||
bool | skipStdIn | ||
) |
Definition at line 29 of file collectjson.cpp.
References QString::isEmpty(), output, outputFile, qPrintable, readFromDevice(), QIODeviceBase::ReadOnly, QHashSeed::setDeterministicGlobalSeed(), QJsonDocument::toJson(), and QIODeviceBase::WriteOnly.
Referenced by runMoc().
|
static |
Definition at line 12 of file collectjson.cpp.
References QJsonArray::append(), contents, device, error, QJsonDocument::fromJson(), QJsonParseError::NoError, and QJsonDocument::object().
Referenced by collectJson(), executeOperation(), and QIODevicePrivate::read().