Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Suggestion for documentation change

Suggestion for documentation change

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 764 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    roel_v
    wrote on last edited by
    #1

    Hi,

    I made an account to be able to post a note to the QCoreApplication class documentation, but it seems I need to have shown some other activity before being able to do so, so I figured I'd post here.

    The documentation for QCoreApplication::arguments() says

    "As a result of this, the string given by arguments().at(0) might not be the program name on Windows, depending on how the application was started."

    I assume this refers to this remark from MSDN (http://msdn.microsoft.com/en-us/library/ms683156(VS.85).aspx):

    "Note The name of the executable in the command line that the operating system provides to a process is not necessarily identical to that in the command line that the calling process gives to the CreateProcess function. The operating system may prepend a fully qualified path to an executable name that is provided without a fully qualified path."

    The Qt documentation suggests that on Windows the program name might be left out completely, while actually it's just that the first argument might not be the exact string that was used to start the program. I suggest to change the docs to "As a result of this, the string given by arguments.at(0) might not be the exact program used to start the application on Windows."

    regards,

    Roel

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      you can't simply edit the documentation and never will have the rights to. The documentation is created out of the source files of Qt.

      Nevertheless you can "file a bugreport":https://bugreports.qt-project.org/browse/QTBUG/component/19132 for doc changes.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • R Offline
        R Offline
        roel_v
        wrote on last edited by
        #3

        Yes I realize I can't change them, that why I wanted to post a note to the class doc, hopefully to be picked up by a dev at some point.

        Either way thanks for the link, I will post there.

        regards

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved