Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-526

Incorrect documentation for EnvironmentVariable operation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 2.0.0
    • 1.5.0
    • General
    • None
    • Change-Id: I4de4080f6b7f4a41d5425f19bcf39f2e1e1ce7ee

    Description

      The documentation for the EnvironmentVariable operation has the optional (boolean) arguments, persistent and system.

      The format [[persistent] system] suggests:
      (..., "true", "true") => persistent=true, system=true
      (..., "true") => system=true

      Looking at the code (.../src/libs/installer/environmentvariablesoperation.cpp), the persistent flag is always taken as the third argument; so if one needs to specify system, both arguments are required.

      Should this be: [persistent [system]] ?

      Ref: .../doc/operations.qdoc

                  \li EnvironmentVariable
                  \li "EnvironmentVariable" \a key \a value [[\a persistent] \a system]
      

      Attachments

        For Gerrit Dashboard: QTIFW-526
        # Subject Branch Project Status CR V

        Activity

          People

            leenam Leena Miettinen
            chard Richard Hazlewood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes