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

QApplication argc, argv documentation

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.4.0
    • Documentation
    • None

    Description

      QApplication::QApplication ( int & argc, char ** argv ) documentation says:

      "Note that argc and argv might be changed. Qt removes command line arguments that it recognizes. The original argc and argv can be accessed later with arguments()."

      Which turns out to be false.
      argc and argv are not modified and QCoreApplication::argument() doesn't contains argument Qt recognize.

      Attachments

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

        Activity

          People

            docteam Qt Documentation Team
            goffart Olivier Goffart (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes