Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <depfile_shared.h>
#include "preprocessor.h"
#include "moc.h"
#include "outputrevision.h"
#include "collectjson.h"
#include <qfile.h>
#include <qfileinfo.h>
#include <qdir.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include <qcoreapplication.h>
#include <qcommandlineoption.h>
#include <qcommandlineparser.h>
#include <memory>
Go to the source code of this file.
Typedefs | |
using | File = decltype(openFileForWriting({})) |
Functions | |
static QByteArray | combinePath (const QString &infile, const QString &outfile) |
void | error (const char *msg="Invalid argument") |
static auto | openFileForWriting (const QString &name) |
static bool | hasNext (const Symbols &symbols, int i) |
static const Symbol & | next (const Symbols &symbols, int &i) |
QByteArray | composePreprocessorOutput (const Symbols &symbols) |
static QStringList | argumentsFromCommandLineAndFile (const QStringList &arguments, bool &hasOptionFiles) |
int | runMoc (int argc, char **argv) |
QT_END_NAMESPACE int | main (int _argc, char **_argv) |
[48] | |
decltype(openFileForWriting({})) typedef File = decltype(openFileForWriting({})) |
|
static |
|
static |
QByteArray composePreprocessorOutput | ( | const Symbols & | symbols | ) |
Definition at line 85 of file main.cpp.
References hasNext(), Symbol::lineNum, next(), and Symbol::token.
|
inlinestatic |
Definition at line 78 of file main.cpp.
Referenced by composePreprocessorOutput().
QT_END_NAMESPACE int main | ( | int | _argc, |
char ** | _argv ) |
[48]
[dynamic_tooltip]
[5]
[2]
[0]
[6]
[48]
[48]
[6]
[0]
[0]
[1]
[1]
[2]
[2]
[3]
[3]
[0]
[0]
[1]
[1]
[2]
[2]
[3]
[3]
[0]
[0]
[1]
[1]
[2]
[2]
[3]
[3]
[0]
[0]
[0]
[0]
[1]
[1]
[1]
[1]
[0]
[0]
[0]
[0]
[0]
[0]
[0]
[0]
Definition at line 657 of file main.cpp.
References runMoc().
Definition at line 81 of file main.cpp.
Referenced by composePreprocessorOutput().
|
static |
int runMoc | ( | int | argc, |
char ** | argv ) |
Definition at line 170 of file main.cpp.
References Moc::generate(), Macro::isFunction, Macro::isVariadic, Preprocessor::macros, Moc::noInclude, Moc::parse(), Preprocessor::preprocessOnly, and Moc::requireCompleteTypes.
Referenced by main().