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

Overriding qbs properties behaves differently with and without the "modules." prefix

    XMLWordPrintable

Details

    • ed5dd866cd83c74df5d2d22660b8f1d695218e1b

    Description

      There seems to be no way to set default installation prefix for a qbs project.

      I've tried adding

      qbs.installPrefix: qbs.targetOS.contains("linux") ? "/usr/local" : ""

      line to Project and Product.

      Adding it to Project doesn't take any effect on it's Products and when it's set in Product the path "/usr/local" is used even when another path was passed through the command line.

      Interestingly, in the latter case it's possible to override install prefix with "products.product.qbs.installPrefix:/path", but this is inconvenient.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            aldrog Andrew Penkrat
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes