![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qmakeglobals.h>
Public Types | |
| enum | ArgumentReturn { ArgumentUnknown , ArgumentMalformed , ArgumentsOk } |
Public Member Functions | |
| QMakeGlobals () | |
| ~QMakeGlobals () | |
| ArgumentReturn | addCommandLineArguments (QMakeCmdLineParserState &state, QStringList &args, int *pos) |
| void | commitCommandLineArguments (QMakeCmdLineParserState &state) |
| void | setCommandLineArguments (const QString &pwd, const QStringList &args) |
| void | useEnvironment () |
| void | setDirectories (const QString &input_dir, const QString &output_dir) |
| void | setProperties (const QHash< ProKey, ProString > &props) |
| ProString | propertyValue (const ProKey &name) const |
| QString | expandEnvVars (const QString &str) const |
| QString | shadowedPath (const QString &fileName) const |
| QStringList | splitPathList (const QString &value) const |
Static Public Member Functions | |
| static void | parseProperties (const QByteArray &data, QHash< ProKey, ProString > &props) |
Friends | |
| class | QMakeEvaluator |
Definition at line 72 of file qmakeglobals.h.
| Enumerator | |
|---|---|
| ArgumentUnknown | |
| ArgumentMalformed | |
| ArgumentsOk | |
Definition at line 97 of file qmakeglobals.h.
| QMakeGlobals::QMakeGlobals | ( | ) |
Definition at line 49 of file qmakeglobals.cpp.
References do_cache.
| QMakeGlobals::~QMakeGlobals | ( | ) |
Definition at line 65 of file qmakeglobals.cpp.
| QMakeGlobals::ArgumentReturn QMakeGlobals::addCommandLineArguments | ( | QMakeCmdLineParserState & | state, |
| QStringList & | args, | ||
| int * | pos ) |
Definition at line 88 of file qmakeglobals.cpp.
References ArgumentMalformed, ArgumentsOk, ArgumentUnknown, do_cache, QMakeCmdLineParserState::phase, QMakeEvalAfter, QMakeEvalBefore, QMakeEvalEarly, and QMakeEvalLate.
| void QMakeGlobals::commitCommandLineArguments | ( | QMakeCmdLineParserState & | state | ) |
Definition at line 167 of file qmakeglobals.cpp.
References QMakeEvalBefore.
Referenced by setCommandLineArguments().
Definition at line 267 of file qmakeglobals.cpp.
Referenced by QMakeEvaluator::evaluateBuiltinConditional().
|
static |
Definition at line 316 of file qmakeglobals.cpp.
Definition at line 115 of file qmakeglobals.h.
Referenced by ProFileEvaluator::propertyValue(), QMakeEvaluator::propertyValue(), QMakeEvaluator::updateFeaturePaths(), and QMakeEvaluator::updateMkspecPaths().
| void QMakeGlobals::setCommandLineArguments | ( | const QString & | pwd, |
| const QStringList & | args ) |
Definition at line 196 of file qmakeglobals.cpp.
References QMakeCmdLineParserState::QMakeCmdLineParserState(), commitCommandLineArguments(), and useEnvironment().
Definition at line 207 of file qmakeglobals.cpp.
Definition at line 113 of file qmakeglobals.h.
Definition at line 228 of file qmakeglobals.cpp.
| QStringList QMakeGlobals::splitPathList | ( | const QString & | value | ) | const |
Definition at line 240 of file qmakeglobals.cpp.
| void QMakeGlobals::useEnvironment | ( | ) |
Definition at line 185 of file qmakeglobals.cpp.
Referenced by setCommandLineArguments().
|
friend |
Definition at line 141 of file qmakeglobals.h.
| QString QMakeGlobals::cachefile |
Definition at line 81 of file qmakeglobals.h.
| QString QMakeGlobals::dir_sep |
Definition at line 79 of file qmakeglobals.h.
| QString QMakeGlobals::dirlist_sep |
Definition at line 80 of file qmakeglobals.h.
| bool QMakeGlobals::do_cache |
Definition at line 78 of file qmakeglobals.h.
Referenced by QMakeGlobals(), addCommandLineArguments(), and QMakeEvaluator::prepareProject().
| QString QMakeGlobals::extra_cmds[4] |
Definition at line 91 of file qmakeglobals.h.
| QString QMakeGlobals::qmake_abslocation |
Definition at line 85 of file qmakeglobals.h.
| QStringList QMakeGlobals::qmake_args |
Definition at line 86 of file qmakeglobals.h.
| QStringList QMakeGlobals::qmake_extra_args |
Definition at line 86 of file qmakeglobals.h.
| QString QMakeGlobals::qmakespec |
Definition at line 89 of file qmakeglobals.h.
| QString QMakeGlobals::qtconf |
Definition at line 88 of file qmakeglobals.h.
| QString QMakeGlobals::user_template |
Definition at line 90 of file qmakeglobals.h.
| QString QMakeGlobals::user_template_prefix |
Definition at line 90 of file qmakeglobals.h.
| QString QMakeGlobals::xqmakespec |
Definition at line 89 of file qmakeglobals.h.