summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@digia.com>2015-11-16 16:16:42 +0100
committerNico Vertriest <nico.vertriest@theqtcompany.com>2015-11-19 21:31:38 +0000
commitde43d4fafd079bfbe0f338b0e7f32068a73d96dc (patch)
tree6d8579ee379998b4fec731099b1e66bd91d7acfd /src
parenta7965a13aa56d653d8d93085ac7e70cf230bfb43 (diff)
Doc: added doc about removal option qmljsdebugger by QCoreApplication
Task-number: QTBUG-46597 Change-Id: I2ed42480bd96119f04828a7a965c348f7c773acd Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qcoreapplication.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp
index d5bfb1dffb..a2a7eed064 100644
--- a/src/corelib/kernel/qcoreapplication.cpp
+++ b/src/corelib/kernel/qcoreapplication.cpp
@@ -661,8 +661,9 @@ void QCoreApplicationPrivate::initLocale()
The command line arguments which are passed to QCoreApplication's
constructor should be accessed using the arguments() function.
- Note that some arguments supplied by the user may have been
- processed and removed by QCoreApplication.
+
+ \note QCoreApplication removes option \c -qmljsdebugger="...". It parses the
+ argument of \c qmljsdebugger, and then removes this option plus its argument.
For more advanced command line option handling, create a QCommandLineParser.