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

QCommandLineParser::process(arc, argv)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.15.3
    • Core: Other
    • None
    • All

    Description

      It would be useful to pass arc and argv to QCommandLineParser. This allows us to use it before creating an QCoreApplication instance.

      Now it's only possible to obtain an arguments list from the QCoreApplication::arguments() and pass it to QCommandLineParser::process(). Without QCoreApplication one need to deal with character encodings, system API and other low-level things and workarounds to get the program arguments in a reliable and cross-platform way.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            nkrupenko.nvidia Nikita Krupenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes