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

QApplication argc, argv documentation

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes