Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
projectdescriptionreader.h
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4#ifndef PROJECTDESCRIPTIONREADER_H
5#define PROJECTDESCRIPTIONREADER_H
6
7#include <QtCore/qjsonarray.h>
8#include <QtCore/qregularexpression.h>
9#include <QtCore/qstring.h>
10#include <QtCore/qstringlist.h>
11#include <QtCore/qvector.h>
12
13#include <optional>
14#include <vector>
15
16QT_BEGIN_NAMESPACE
17
18struct Project;
19
21
32
33Projects projectDescriptionFromFile(const QString &filePath, QString *errorString);
34Projects projectDescriptionFromJson(const QJsonArray &rawProjects, QString *errorString);
35
36QT_END_NAMESPACE
37
38#endif // PROJECTDESCRIPTIONREADER_H
bool m_ignoreUnfinished
Definition translator.h:57
bool isProOrPriFile(const QString &filePath)
QStringList extractProFiles(QStringList *files)
std::vector< Project > Projects
Projects projectDescriptionFromFile(const QString &filePath, QString *errorString)
Projects projectDescriptionFromJson(const QJsonArray &rawProjects, QString *errorString)
std::vector< Project > Projects
Projects generateProjects(const QStringList &proFiles, const QStringList &translationsVariables, const QHash< QString, QString > &outDirMap, int proDebug, bool verbose, QString *errorString, QJsonArray *resultJson=nullptr)
static void printUsage()
Definition main.cpp:24
int main(int argc, char *argv[])
[ctor_close]
bool failOnInvalid
bool failOnUnfinished
bool removeIdentical
QVector< QRegularExpression > excluded
QStringList sources
std::optional< QStringList > translations
QStringList includePaths