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

Improve the documentation regarding removed command line arguments in QApplication classes

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.0 RC
    • 5.5.0 Beta
    • Documentation
    • None
    • 3e281906c187a435bc2990b0046ad1d574ef04b3

    Description

      The QCoreApplication's description says about accessing command line arguments:

      Note that some arguments supplied by the user may have been processed and removed by QCoreApplication.

      And QApplication::QApplication() documentation says:

      Note: argc and argv might be changed as Qt removes command line arguments that it recognizes.

      The QApplication documentation continues with a list of supported command line options, but it is not very clear if these are the recognized command line arguments that are removed. In addition QCoreApplication's document doesn't give any hint what kind of arguments might be removed.

      Thus it would be nice if the documentation could be improved to either contain a list of arguments, which will be removed or at least explain in more detail what kind of arguments will be removed.

      Attachments

        Activity

          People

            vertries Nico Vertriest (Inactive)
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: