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

Use reasonable defaults for destinationDirectory / qbs.installDir

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes