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

TargetArtifact class needs methods to check if is installable and where it will be installed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.7.0
    • Component/s: General
    • Labels:
      None
    • Commits:
      a6680038451246455b49f1d367002be0a940aeac

      Description

      TargetArtifact::filePath is not enough when a project needs to be installed before it's executed.
      I suggest to add the following methods:

      • bool isInstallable() const; // true if the target is installable otherwise false
      • const QString & installPath(const InstallOptions &opts) const; // computes and returns the path where the target will be after installation.

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            taipan BogDan Vatra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes