Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
5.14.0
-
None
-
Arch Linux, Qt 5.14.
Description
Starting with Qt 5.14, adding an option which already exists results in a warning printed to stderr. Unfortunately, calling QCommandLineParser::addHelpOption (as our application KDE Connect currently does), now results in this warning, breaking command-line autocompletion.
I suggest not printing this warning for addHelpOption() (and maybe for similar methods too): it feels as if calling it multiple times should be unneccesary but not cause issues (like warnings) either.