Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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 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 contents, device, error, QJsonDocument::fromJson(), QJsonParseError::NoError, and QJsonDocument::object().
Referenced by collectJson(), executeOperation(), and QIODevicePrivate::read().