Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
5.14.0
-
None
Description
Since Qt5.14 (via this commit) an help option --help-all exists, which will be always added.
Current behavior:
If you develop a CUI --help-all only includes on option:
--qmljsdebugger <value> Activates the QML/JS debugger with a specified port. The value must be of format port:1234[,block]. "block" makes the application wait for a connection.
Expected behavior:
- Variant 1
qmljsdebugger will be only added, in case the application a an application using QML (or using the QML module). Therefore if -qmljsdebuggeris not present -help-all should not be added, as there exists no Qt option. - Variant 2)
qmljsdebugger will be only in debug mode available, as I don't believe it is relevant to enduser - Variant 3)
QCommandLineParser::addHelpOption() will be changed to QCommandLineParser::addHelpOption(bool includeQtOptions = true), so the developer can decide if the user should be confronted with advanced options