diff options
author | David Faure <faure@kde.org> | 2013-08-24 11:15:19 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-24 21:33:39 +0200 |
commit | 404598b61366e681100893052fdb394702d3bcbf (patch) | |
tree | b8741268b3960d6f47fd9a562a362e6503cab75c /src/corelib/tools/tools.pri | |
parent | 1411a6f1acfcbea3f31ac461c27cd3e1be87ee1c (diff) |
Long live QCommandLineParser!
The QCommandLineParser class provides a means for handling the command line options.
QCoreApplication provides the command-line arguments as a simple list of strings.
QCommandLineParser provides the ability to define a set of options, parse the
command-line arguments, and store which options have actually been used, as
well as option values.
Done-with: Laszlo Papp <lpapp@kde.org>
Change-Id: Ic7bebc10b3f8d8dd06ad0f4bb897c51d566e3b7c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/tools.pri')
-rw-r--r-- | src/corelib/tools/tools.pri | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/tools/tools.pri b/src/corelib/tools/tools.pri index 40858e5336..8aab53998b 100644 --- a/src/corelib/tools/tools.pri +++ b/src/corelib/tools/tools.pri @@ -12,6 +12,8 @@ HEADERS += \ tools/qcache.h \ tools/qchar.h \ tools/qcollator_p.h \ + tools/qcommandlineoption.h \ + tools/qcommandlineparser.h \ tools/qcontainerfwd.h \ tools/qcryptographichash.h \ tools/qdatetime.h \ @@ -69,6 +71,8 @@ SOURCES += \ tools/qbytearray.cpp \ tools/qbytearraymatcher.cpp \ tools/qcollator.cpp \ + tools/qcommandlineoption.cpp \ + tools/qcommandlineparser.cpp \ tools/qcryptographichash.cpp \ tools/qdatetime.cpp \ tools/qeasingcurve.cpp \ |