From 404598b61366e681100893052fdb394702d3bcbf Mon Sep 17 00:00:00 2001 From: David Faure Date: Sat, 24 Aug 2013 11:15:19 +0200 Subject: 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 Change-Id: Ic7bebc10b3f8d8dd06ad0f4bb897c51d566e3b7c Reviewed-by: Thiago Macieira --- src/corelib/tools/tools.pri | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/corelib/tools/tools.pri') 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 \ -- cgit v1.2.3