Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-229

Use reasonable defaults for destinationDirectory / qbs.installDir

    XMLWordPrintable

    Details

    • Type: Task
    • Status: In Progress
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: some future version
    • Component/s: General
    • Labels:
      None
    • Technical Risk:
      Normal

      Description

      QBS should use reasonable defaults for the destinationDirectory / qbs.installDir. This varies greatly by OS and product type.

      I propose that destinationDirectory and qbs.installDir should both have the following defaults, based on the product type where applicable. These paths are relative to the install prefix.

      Product type Variable Value
      application executableInstallDir qbs.targetOS.contains("windows") ? "." : "bin"
      - systemExecutableInstallDir qbs.targetOS.contains("windows") ? "." : "sbin"
      applicationbundle applicationInstallDir "Applications"
      frameworkbundle frameworkInstallDir "Library/Frameworks"
      dynamiclibrary
      staticlibrary
      libraryInstallDir qbs.targetOS.contains("windows") ? "." : "lib"
      msi
      wixsetup
      nsissetup
      dmg
      pkg
      mpkg
      deb
      rpm
      packageInstallDir "dist"

      Artifacts that go into packageInstallDir should not be installed by default.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kandeler Christian Kandeler
              Reporter:
              jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes