![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QCoreApplication>
#include <QCommandLineParser>
#include <QStandardPaths>
#include <QHash>
#include <QLibraryInfo>
#include <algorithm>
#include <stdio.h>
Go to the source code of this file.
Classes | |
class | StringEnum |
Functions | |
static QT_USE_NAMESPACE void | message (const QString &string) |
static Q_NORETURN void | error (const QString &message) |
static QStringList | types () |
static const StringEnum & | parseLocationOrError (const QString &locationString) |
static QString | searchStringOrError (QCommandLineParser *parser) |
int | main (int argc, char **argv) |
[48] |
Variables | |
static const StringEnum | lookupTableData [] |
|
static |
Writes error message and exits 1
message | to write |
Definition at line 36 of file qtpaths.cpp.
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]
[0]
[0]
[0]
[0]
[0]
[0]
Definition at line 123 of file qtpaths.cpp.
|
static |
Prints the string on stdout and appends a newline
string | printable string |
Definition at line 27 of file qtpaths.cpp.
|
static |
Tries to parse the location string into a reference to a StringEnum entry or alternatively calls error with a error message
Definition at line 99 of file qtpaths.cpp.
|
static |
searches for exactly one remaining argument and returns it. If not found, error is called with a error message.
parser | to ask for remaining arguments |
Definition at line 115 of file qtpaths.cpp.
|
static |
Definition at line 86 of file qtpaths.cpp.
|
static |
Definition at line 57 of file qtpaths.cpp.