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

Use reasonable defaults for destinationDirectory / qbs.installDir

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • None
    • None
    • General
    • None

    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

          For Gerrit Dashboard: QBS-229
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes