Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-41802

Optionally show all options parsed in QGuiApplication/QApplication in QCommandLineParser

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.14.0 Alpha
    • 5.3.2
    • Core: Other
    • None
    • 341c8b9cd08c1cd863cf8581a825561a2862fce2 (qt/qtbase/dev)

    Description

      KDE4's KCmdLineParser had --help-all and --help-qt options, with the need to hardcode all Qt options inside its code. With porting to QCommandLineParser, this documentation is lost.

      It would be nice if the supported options would not only be documented in the qdoc or QGuiApplication, but also using the --help from QCommandLineParser. To reduce clutter, these common options could only be shown or --help-all.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-41802
          # Subject Branch Project Status CR V

          Activity

            People

              dfaure_kdab David Faure
              cfeck Christoph Feck
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes