![]() |
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 &namename) |
| 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] | |
| using 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 ) |
Definition at line 81 of file main.cpp.
Referenced by composePreprocessorOutput().
| int runMoc | ( | int | argc, |
| char ** | argv ) |
Definition at line 170 of file main.cpp.
References Moc::generate(), Macro::isFunction, Macro::isVariadic, Preprocessor::macros, Moc::moduleUnitKind, Moc::noInclude, NotAModule, Moc::parse(), Preprocessor::preprocessOnly, Moc::requireCompleteTypes, and Preprocessor::setDebugIncludes().
Referenced by main().